The computer has a ladder, and the plug-in installed directly through atom has been installed, even for several hours. 用CMD MaturAL compA S compo But emmet keeps reporting errors. Error message (image cannot be uploaded):
gyp info it worked if it ends with ok
gyp info using node-gyp@3.4.0
gyp info using node @6.9.5 | win32 | x64
gyp http GET https://atom.io/download/electron/v1.3.15/iojs-v1.3.15.tar.gz
gyp http 200 https://atom.io/download/electron/v1.3.15/iojs-v1.3.15.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR ! install error
gyp ERR! stack Error: EPERM: operation not permitted, open 'C:\Users\hy-wuxf\.at
om\.node-gyp\.node- gyp\iojs-1.3.15\deps\uv\include\uv.h'
gyp ERR! stack at Error (native)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Users\\hy-wuxf\\AppData\\Local\\atom\\app-1.18.0\\resource
s\\app\\apm \\bin\\node.exe" "C:\\Users\\hy-wuxf\\AppData\\Local\\atom\\app-1.18.
0\\resources\\app\\ apm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--r
untime=electron" "--target=1.3.15" "--dist -url=https://atom.io/download/electron
" "--arch=x64" "--ensure"
gyp ERR! cwd C:\Users\hy- wuxf\.atom
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
天蓬老师2017-07-09 20:41:38
If the installation cannot be completed in the Atom environment, you can clone and install directly from GitHub.
The specific method is as follows:
Step 1: Enter your Atom plug-in directory: usually /atom/packges
cd ~/.atom/packges
Step 2: Clone the plug-in from GitHub to this directory, the plug-in directory will be automatically created: emmet -atom
git clone https://github.com/emmetio/emmet-atom
The third step, enter the emmet-atom directory
cd emmet-atom
The fourth step: Install the plug-in
npm install
I wish you a smooth installation~~