linux - npm install causes errors like npm ERR! tar.unpack untar error on Debian -


installing grunt in bootstrap documentation shown, first installed grunt-cli globally npm install -g grunt-cli , i'm trying execute npm install, getting errors:

root@devvm:/var/www/axit/portfolio/public/bower_components/bootstrap# npm install npm err! tar.unpack untar error /root/.npm/wrappy/1.0.1/package.tgz npm err! tar.unpack untar error /root/.npm/wrappy/1.0.1/package.tgz npm err! tar.unpack untar error /root/.npm/brace-expansion/1.1.0/package.tgz npm err! tar.unpack untar error /root/.npm/delayed-stream/0.0.5/package.tgz npm warn optional dep failed, continuing form-data@0.1.4 npm err! tar.unpack untar error /root/.npm/is-property/1.0.2/package.tgz npm warn optional dep failed, continuing request@2.54.0 npm err! linux 3.2.0-4-amd64 npm err! argv "node" "/usr/local/bin/npm" "install" npm err! node v0.10.35 npm err! npm  v2.7.4 npm err! path /var/www/axit/portfolio/public/bower_components/bootstrap/node_modules/grunt-saucelabs/node_modules/sauce-tunnel/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js npm err! code eperm npm err! errno 50  npm err! error: eperm, open '/var/www/axit/portfolio/public/bower_components/bootstrap/node_modules/grunt-saucelabs/node_modules/sauce-tunnel/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js' npm err!  { [error: eperm, open '/var/www/axit/portfolio/public/bower_components/bootstrap/node_modules/grunt-saucelabs/node_modules/sauce-tunnel/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js'] npm err!   errno: 50, npm err!   code: 'eperm', npm err!   path: '/var/www/axit/portfolio/public/bower_components/bootstrap/node_modules/grunt-saucelabs/node_modules/sauce-tunnel/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-delayed-http-upload.js' } npm err!  npm err! please try running command again root/administrator. npm err! linux 3.2.0-4-amd64 npm err! argv "node" "/usr/local/bin/npm" "install" npm err! node v0.10.35 npm err! npm  v2.7.4 npm err! path npm-debug.log.ba707f2a7a688e388708bbe88e2dd4ed npm err! code etxtbsy npm err! errno 62  npm err! etxtbsy, rename 'npm-debug.log.ba707f2a7a688e388708bbe88e2dd4ed' npm err!  npm err! if need help, may report error at: npm err!     <https://github.com/npm/npm/issues>  npm err! please include following file support request: npm err!     /var/www/axit/portfolio/public/bower_components/bootstrap/npm-debug.log 

i've copied project in non-shared folder , started npm install again. , worked. so, seems shared folder issue. exactly? symlinks enabled shared folder , started vm admin (it helped, when had similar issues installing bower).

what causing these errors , how solve problem?

environment: virtualbox debian guest system , windows 7 host system.

edit

now (i think after i've executed npm install in non-shared folder) i'm geting different errors:

when start vm in common way:

root@devvm:/var/www/axit/portfolio/public/bower_components/bootstrap# npm install npm err! tar.unpack untar error /root/.npm/delayed-stream/0.0.5/package.tgz npm warn optional dep failed, continuing form-data@0.1.4 npm err! tar.unpack untar error /root/.npm/wrappy/1.0.1/package.tgz npm err! tar.unpack untar error /root/.npm/wrappy/1.0.1/package.tgz npm err! tar.unpack untar error /root/.npm/brace-expansion/1.1.0/package.tgz npm err! linux 3.2.0-4-amd64 npm err! argv "node" "/usr/local/bin/npm" "install" npm err! node v0.10.35 npm err! npm  v2.7.4 npm err! path ../semver/bin/semver npm err! code unknown npm err! errno -1  npm err! unknown, symlink '../semver/bin/semver' npm err!  npm err! if need help, may report error at: npm err!     <https://github.com/npm/npm/issues> npm err! linux 3.2.0-4-amd64 npm err! argv "node" "/usr/local/bin/npm" "install" npm err! node v0.10.35 npm err! npm  v2.7.4 npm err! path npm-debug.log.428531818e2d916d5ae79bdf94dd73b3 npm err! code etxtbsy npm err! errno 62  npm err! etxtbsy, rename 'npm-debug.log.428531818e2d916d5ae79bdf94dd73b3' npm err!  npm err! if need help, may report error at: npm err!     <https://github.com/npm/npm/issues>  npm err! please include following file support request: npm err!     /var/www/axit/portfolio/public/bower_components/bootstrap/npm-debug.log 

when start vm administrator:

root@devvm:/var/www/axit/portfolio/public/bower_components/bootstrap# npm install npm err! tar.unpack untar error /root/.npm/wrappy/1.0.1/package.tgz npm err! tar.unpack untar error /root/.npm/wrappy/1.0.1/package.tgz npm err! tar.unpack untar error /root/.npm/delayed-stream/0.0.5/package.tgz npm err! tar.unpack untar error /root/.npm/brace-expansion/1.1.0/package.tgz npm warn optional dep failed, continuing form-data@0.1.4 npm err! linux 3.2.0-4-amd64 npm err! argv "node" "/usr/local/bin/npm" "install" npm err! node v0.10.35 npm err! npm  v2.7.4 npm err! path /var/www/axit/portfolio/public/bower_components/bootstrap/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy npm err! code unknown npm err! errno -1  npm err! unknown, mkdir '/var/www/axit/portfolio/public/bower_components/bootstrap/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy' npm err!  npm err! if need help, may report error at: npm err!     <https://github.com/npm/npm/issues> npm err! linux 3.2.0-4-amd64 npm err! argv "node" "/usr/local/bin/npm" "install" npm err! node v0.10.35 npm err! npm  v2.7.4 npm err! path npm-debug.log.0bb66467f3aae813a34e03a797f8da19 npm err! code etxtbsy npm err! errno 62  npm err! etxtbsy, rename 'npm-debug.log.0bb66467f3aae813a34e03a797f8da19' npm err!  npm err! if need help, may report error at: npm err!     <https://github.com/npm/npm/issues>  npm err! please include following file support request: npm err!     /var/www/axit/portfolio/public/bower_components/bootstrap/npm-debug.log 

ok see solution

 sudo npm cache clean 

then

sudo npm install -g grunt grunt-cli 

i did on macos


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -