node.js - npm -g install issue -


i not able install , can't able run npm script form package.json

ps d:\users\subho> npm install -g json-server npm warn retry retry, error on last attempt: error: ebusy: resource busy or locked, rename 'd:\users\subho\appdata\ local\temp\npm-8508-54f2d409\registry.npmjs.org\basic-auth\-\basic-auth-1.1.0.tgz.3339144024' -> 'd:\users\subho\appdata \local\temp\npm-8508-54f2d409\registry.npmjs.org\basic-auth\-\basic-auth-1.1.0.tgz' npm err! windows_nt 10.0.15063 npm err! argv "d:\\program files\\nodejs\\node.exe" "d:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "ins tall" "-g" "json-server" npm err! node v7.0.0 npm err! npm  v3.10.8  npm err! tarball.destroy not function npm err! npm err! if need help, may report error at: npm err!     <https://github.com/npm/npm/issues> 

node -v 7.0.0 npm -v 3.10.8

actually, have posted question on github. perfect solution needed upgrade latest npm stable version. here github issue link: https://github.com/npm/npm/issues/17931


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -