node.js - Error while using npm install -g generator-jhipster -
i following installation steps @ https://jhipster.github.io/installation.html. every thing went fine till generator-jhipster. when run npm install -g generator-jhipster, getting following errors, can 1 me fix this?
c:\users\smart>npm install -g generator-jhipster / > spawn-sync@1.0.13 postinstall c:\users\smart\appdata\roaming\npm\node_module s\generator-jhipster\node_modules\yeoman-generator\node_modules\cross-spawn\node _modules\spawn-sync > node postinstall npm err! windows_nt 6.3.9600 npm err! argv "c:\\program files\\nodejs\\\\node.exe" "c:\\program files\\nodejs \\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "generator-jhipster" npm err! node v0.12.7 npm err! npm v2.11.3 npm err! path c:\users\smart\appdata\roaming\npm-cache\isarray\0.0.1\package\p ackage.json npm err! code eperm npm err! errno -4048 npm err! error: eperm, rename 'c:\users\smart\appdata\roaming\npm-cache\isarra y\0.0.1\package\package.json' npm err! @ error (native) npm err! { [error: eperm, rename 'c:\users\smart\appdata\roaming\npm-cache\is array\0.0.1\package\package.json'] npm err! errno: -4048, npm err! code: 'eperm', npm err! path: 'c:\\users\\smart\\appdata\\roaming\\npm-cache\\isarray\\0.0. 1\\package\\package.json', npm err! parent: 'readable-stream' } npm err! npm err! please try running command again root/administrator. npm err! please include following file support request: npm err! c:\users\smart\npm-debug.log
please try running command again root/administrator
have tried it?
Comments
Post a Comment