paultao 发表于 2015-8-18 12:01 1)npm WARN using --force I sure hope you know what you are doing. 2)npm ERR! notsup Unsupported npm ERR! notsup Not compatible with your operating system or architecture: n@2.0 .2 npm ERR! notsup Valid OS: !win32 npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: x64 npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "n" npm ERR! cwd C:\Users\Administrator npm ERR! node -v v0.10.38 npm ERR! npm -v 1.4.28 npm ERR! code EBADPLATFORM npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\Administrator\npm-debug.log npm ERR! not ok code 0 还是报错呢.. |
1) Clear NPM's cache: sudo npm cache clean -f 2) Install a little helper called 'n' sudo npm install -g n |
Archiver|手机版|小黑屋| PhoneGap中文网 ( 京ICP备13027796号-1 )
GMT+8, 2025-1-6 20:52 , Processed in 0.050193 second(s), 35 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.