componentjs / component

frontend package manager and build tool for modular web applications
https://github.com/componentjs/guide
MIT License
4.55k stars 306 forks source link

windows npm install error #590

Closed ustccjw closed 10 years ago

ustccjw commented 10 years ago
> win-fork@1.1.1 prepublish c:\Users\CHENJI~1\AppData\Local\Temp\npm-6752-n-G9fC
7Y\win-fork-1.1.11405570542546-0.852141956333071\package
> win-line-endings

'win-line-endings' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! addLocalDirectory Could not pack "c:\\Users\\CHENJI~1\\AppData\\Local\\
Temp\\npm-6752-n-G9fC7Y\\win-fork-1.1.11405570542546-0.852141956333071\\package"
 to "C:\\Users\\chenjiawei01\\AppData\\Roaming\\npm-cache\\win-fork\\1.1.1\\pack
age.tgz"
npm ERR! win-fork@1.1.1 prepublish: `win-line-endings`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the win-fork@1.1.1 prepublish script.
npm ERR! This is most likely a problem with the win-fork package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     win-line-endings
npm ERR! You can get their info via:
npm ERR!     npm owner ls win-fork
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "D:\\nodejs\\\\node.exe" "D:\\nodejs\\node_modules\\npm\\bin\\n
pm-cli.js" "install" "component" "-g"
npm ERR! cwd C:\Windows\system32
npm ERR! node -v v0.11.9
npm ERR! npm -v 1.3.15
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Windows\system32\npm-debug.log
npm ERR! not ok code 0
ustccjw commented 10 years ago

npm update to lastest & random => this is windows