ValsiS
624
12
Servers

Where i wrong ? npm install - error

Posted 3 years ago by ValsiS

Hello,

I setup on an Windows OS the Homestead VM, everything was ok, i was able to access the homestead.app,

but... in the Git Bash console i used the vagrant ssh to login to the homestead and there when i tried to install Laravel Elixir i received the next error



vagrant@homestead:~/Projects/CRM$ npm install --global gulp
npm ERR! Linux 3.16.0-23-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--global" "gulp"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! path /usr/bin/gulp
npm ERR! code EACCES
npm ERR! errno -13

npm ERR! Error: EACCES, unlink '/usr/bin/gulp'
npm ERR!     at Error (native)
npm ERR!  { [Error: EACCES, unlink '/usr/bin/gulp'] errno: -13, code: 'EACCES', path: '/usr/bin/gulp' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! error rolling back Error: EACCES, unlink '/usr/bin/gulp'
npm ERR! error rolling back     at Error (native)
npm ERR! error rolling back  { [Error: EACCES, unlink '/usr/bin/gulp'] errno: -13, code: 'EACCES', path: '/usr/bin/gulp' }
npm ERR! Linux 3.16.0-23-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--global" "gulp"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! path npm-debug.log.de85a19d4280733d85aa813995491c22
npm ERR! code ETXTBSY
npm ERR! errno -26

npm ERR! ETXTBSY, rename 'npm-debug.log.de85a19d4280733d85aa813995491c22'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/vagrant/Projects/CRM/npm-debug.log
vagrant@homestead:~/Projects/CRM$

That was a fresh install of Laravel, of everything ...

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.