node.js - npm install untar error -


i've installed node.js , git hub. i've modified environment variable too. when go folder package.jason file present , type following command

  npm install 

i'm getting untar error. here detailed error

pkottawa@pkottawa-lap /c/program files (x86)/nodejs/node_modules $ cd npm/  pkottawa@pkottawa-lap /c/program files (x86)/nodejs/node_modules/npm $ npm install npm err! tar.unpack untar error c:\users\pkottawa\appdata\roaming\npm-             cache\nock\0.59.1\package.tgz npm err! tar.unpack untar error c:\users\pkottawa\appdata\roaming\npm-cache\requ ire-inject\1.1.1\package.tgz npm err! tar.unpack untar error c:\users\pkottawa\appdata\roaming\npm-cache\mark ed\0.3.3\package.tgz npm err! tar.unpack untar error c:\users\pkottawa\appdata\roaming\npm-cache\npm- registry-couchapp\2.6.7\package.tgz npm err! tar.unpack untar error c:\users\pkottawa\appdata\roaming\npm-cache\npm- registry-mock\1.0.0\package.tgz npm err! tar.unpack untar error c:\users\pkottawa\appdata\roaming\npm-cache\mark ed-man\0.1.4\package.tgz npm err! tar.unpack untar error c:\users\pkottawa\appdata\roaming\npm-cache\tap\ 0.5.0\package.tgz npm err! windows_nt 6.1.7601 npm err! argv "c:\\program files (x86)\\nodejs\\node.exe" "c:\\program files (x8 6)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" npm err! node v0.12.1 npm err! npm  v2.5.1 npm err! path c:\program files (x86)\nodejs\node_modules\npm\node_modules\nock npm err! code eperm npm err! errno -4048  npm err! error: eperm, mkdir 'c:\program files (x86)\nodejs\node_modules\npm\nod e_modules\nock' npm err!     @ error (native) npm err!  { [error: eperm, mkdir 'c:\program files (x86)\nodejs\node_modules\npm \node_modules\nock'] npm err!   errno: -4048, npm err!   code: 'eperm', npm err!   path: 'c:\\program files (x86)\\nodejs\\node_modules\\npm\\node_modul es\\nock', npm err!   fstream_type: 'directory', npm err!   fstream_path: 'c:\\program files (x86)\\nodejs\\node_modules\\npm\\no de_modules\\nock', npm err!   fstream_class: 'dirwriter', npm err!   fstream_stack: npm err!    [ 'c:\\program files (x86)\\nodejs\\node_modules\\npm\\node_modules\ \fstream\\lib\\dir-writer.js:36:23', npm err!      'c:\\program files (x86)\\nodejs\\node_modules\\npm\\node_modules\ \mkdirp\\index.js:46:53', npm err!      'fsreqwrap.oncomplete (fs.js:99:15)' ] } npm err! npm err! please try running command again root/administrator. npm err! windows_nt 6.1.7601 npm err! argv "c:\\program files (x86)\\nodejs\\node.exe" "c:\\program files (x8 6)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" npm err! node v0.12.1 npm err! npm  v2.5.1  npm err! uncaught, unspecified "error" event. npm err! npm err! if need help, may report error at: npm err!     <http://github.com/npm/npm/issues>  npm err! please include following file support request: npm err!     c:\program files (x86)\nodejs\node_modules\npm\npm-debug.log /c/program files (x86)/nodejs/npm: line 14:  7208 signal 112              (core dumped) "$basedir/node.exe" "$basedir/node_modules/npm/bin/npm-cli.js" "$@" 

i executing command in wrong directory . before npm install need execute

export path=$path:directory-to-add 

then run

npm install 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -