我想使用NPM在Cygwin的,但不斷收到以下錯誤意外結束:NPM在Cygwin:文件
ERR! tar "-mvxpf" "-" "--no-same-owner" "-C" "/tmp/npm-1305893882865/1305893885765-0.008730818051844835/contents/___package.npm" tar: Unexpected EOF in archive
ERR! tar "-mvxpf" "-" "--no-same-owner" "-C" "/tmp/npm-1305893882865/1305893885765-0.008730818051844835/contents/___package.npm" tar: Unexpected EOF in archive
ERR! tar "-mvxpf" "-" "--no-same-owner" "-C" "/tmp/npm-1305893882865/1305893885765-0.008730818051844835/contents/___package.npm" tar: Error is not recoverable: exiting now
ERR! tar "-mvxpf" "-" "--no-same-owner" "-C" "/tmp/npm-1305893882865/1305893885765-0.008730818051844835/contents/___package.npm"
ERR! Failed unpacking /tmp/npm-1305893882865/1305893885765-0.008730818051844835/tmp.tgz
ERR! couldn't unpack /tmp/npm-1305893882865/1305893885765-0.008730818051844835/tmp.tgz to /tmp/npm-1305893882865/1305893885765-0.008730818051844835/contents
verbose about to build /home/Tema/node_modules/express
ERR! error installing [email protected] Error: Failed tar "-mvxpf" "-" "--no-same-owner" "-C" "/tmp/npm-1305893882865/1305893885765-0.008730818051844835/contents/___package.npm"
有幾個建議我用Google搜索(NPM緩存清理和rebaseall),但沒有任何幫助。那麼,有什麼方法可以在Cygwin中使用NPM?
我也是!我得到了類似的錯誤,如上所述,做了一個npm緩存清理,也rebaseall現在npm安裝表達似乎掛起gzip消耗100%cpu? – molicule 2011-05-21 03:42:42
嗯,不,它顯示上面的錯誤,並退出與「NPM不行」。看起來像我們需要切換到Linux虛擬機... – spacevillain 2011-05-21 08:04:13
如果你還沒有,可能值得在#nodejs中詢問這個問題。 – 2011-06-03 12:55:19