Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win7下npm install spm -g 失败 #106

Closed
bairedzhang opened this issue Dec 2, 2013 · 3 comments
Closed

win7下npm install spm -g 失败 #106

bairedzhang opened this issue Dec 2, 2013 · 3 comments

Comments

@bairedzhang
Copy link

C:\Users\bairedzhang>npm install spm -g
npm http GET https://registry.npmjs.org/spm
npm http 304 https://registry.npmjs.org/spm

[email protected] preinstall C:\Users\bairedzhang\AppData\Roaming\npm\node_modules\spm
node scripts/preinstall.js

@afc163
Copy link
Member

afc163 commented Dec 2, 2013

log 信息就这么点么?

@bairedzhang
Copy link
Author

c:\Users\bairedzhang\AppData\Roaming\npm\node_modules\spm\scripts>npm install spm -g
npm http GET https://registry.npmjs.org/spm
npm http 304 https://registry.npmjs.org/spm
npm ERR! error rolling back Error: EBUSY, unlink 'C:\Users\bairedzhang\AppData\Roaming\npm\node_modules\spm\scripts'
npm ERR! error rolling back  [email protected] { [Error: EBUSY, unlink 'C:\Users\bairedzhang\AppData\Roaming\npm\node_modules\sp
m\scripts']
npm ERR! error rolling back   errno: 10,
npm ERR! error rolling back   code: 'EBUSY',
npm ERR! error rolling back   path: 'C:\\Users\\bairedzhang\\AppData\\Roaming\\npm\\node_modules\\spm\\scripts' }
npm ERR! Error: EBUSY, unlink 'C:\Users\bairedzhang\AppData\Roaming\npm\node_modules\spm\scripts'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
 "install" "spm" "-g"
npm ERR! cwd c:\Users\bairedzhang\AppData\Roaming\npm\node_modules\spm\scripts
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! path C:\Users\bairedzhang\AppData\Roaming\npm\node_modules\spm\scripts
npm ERR! code EBUSY
npm ERR! errno 10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     c:\Users\bairedzhang\AppData\Roaming\npm\node_modules\spm\scripts\npm-debug.log
npm ERR! not ok code 0

@popomore
Copy link
Member

popomore commented Dec 3, 2013

好像 node 也不太管 windows 的,你先把这个目录删掉再重装试试

nodejs/node-v0.x-archive#3017

@popomore popomore closed this as completed Dec 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants