我試圖在我的Mac(Mavericks)上安裝sails,但在安裝過程中收到錯誤消息。sudo npm -g sails->安裝錯誤
這裏我的控制檯日誌:
...
npm http GET https://registry.npmjs.org/lodash._basecreate
npm http 304 https://registry.npmjs.org/lodash._shimkeys
npm http 304 https://registry.npmjs.org/lodash._basecreate
> [email protected] install /usr/local/lib/node_modules/sails/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
那麼我需要做什麼?謝謝 – Nik
那就是builderror.log的內容 'gyp http GET http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz gyp http 200 http://nodejs.org /dist/v0.10.28/node-v0.10.28.tar.gz gyp http GET http://nodejs.org/dist/v0.10.28/SHASUMS.txt gyp http GET http://nodejs.org/dist /v0.10.28/SHASUMS.txt gyp http 200 http://nodejs.org/dist/v0.10.28/SHASUMS.txt gyp http 200 http://nodejs.org/dist/v0.10.28/SHASUMS.txt ' – Nik
你試過了嗎?它工作嗎? 'builderror.log'中沒有任何錯誤 – SomeKittens