I am using windows 7 and got error while executing
npm install -g cordova
command and then it shows following error>>
npm ERR! error rolling back Error: EBUSY, unlink 'C:\nodejs\cordova'
npm ERR! error rolling back [email protected] { [Error: EBUSY, unlink 'C:\nod
ejs\cordova'] errno: 10, code: 'EBUSY', path: 'C:\\nodejs\\cordova' }
npm ERR! Error: EISDIR, open 'C:\nodejs\cordova'
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:\\nodejs\\\\node.exe" "C:\\nodejs\\node_modules\\npm\\bin\\n
pm-cli.js" "install" "-g" "cordova"
npm ERR! cwd C:\nodejs\cordova
npm ERR! node -v v0.10.16
npm ERR! npm -v 1.3.8
npm ERR! path C:\nodejs\cordova
npm ERR! code EISDIR
npm ERR! errno 28
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\nodejs\cordova\npm-debug.log
npm ERR! not ok code 0
any idea on this kind of problem??
Sorry to Answer my own question I Solved that problem you need to run "npm install -g cordova" command from where you install nodeJS not from any sub-folder Suppose I installed nodeJS in "MyNode" folder then I will run "npm install -g cordova" command from c:\MyNode>npm install -g cordova
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With