安装spm遇到问题?
npm WARN deprecated [email protected]: v1.0.0 is a complete rewrite of Swig from the ground up. Previous versions are no longer supported
> [email protected] install /usr/local/lib/node_modules/spm/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EPERM, utime '/Users/Dophin/.node-gyp/0.12.1'
gyp ERR! stack at Error (native)
gyp ERR! System Darwin 14.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/spm/node_modules/chokidar/node_modules/fsevents
gyp ERR! node -v v0.12.1
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]
> [email protected] install /usr/local/lib/node_modules/spm/node_modules/phantomjs
> node install.js
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-macosx.zip
Saving to /usr/local/lib/node_modules/spm/node_modules/phantomjs/phantomjs/phantomjs-1.9.7-macosx.zip
Receiving...
-
Error making request.
Error: connect ETIMEDOUT
at exports._errnoException (util.js:746:11)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:983:19)
Please report this full log at https://github.com/Medium/phantomjs
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "spm" "-g"
npm ERR! node v0.12.1
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node install.js'.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Dophin/npm-debug.log
一大堆错,不知道从哪看起走,求帮助T_T
exalice
9 years, 4 months ago