mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 11:36:45 +00:00
Updated vagrant provisioning script to update npm to the latest version as the older version (1.4.28) was causing the following error during npm install.
npm ERR! EEXIST, open '/home/vagrant/.npm/9fb4c098-adable-stream-1-0-33-package-tgz.lock' File exists: /home/vagrant/.npm/9fb4c098-adable-stream-1-0-33-package-tgz.lock Move it away, and try again. npm ERR! System Linux 3.2.0-23-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--no-bin-links" npm ERR! cwd /vagrant npm ERR! node -v v0.10.37 npm ERR! npm -v 1.4.28 npm ERR! path /home/vagrant/.npm/9fb4c098-adable-stream-1-0-33-package-tgz.lock npm ERR! code EEXIST npm ERR! errno 47 npm ERR! not ok code 0
This commit is contained in:
parent
380265731f
commit
485dc68fe4
1 changed files with 2 additions and 0 deletions
|
|
@ -68,6 +68,8 @@ echo Updating repositories...
|
|||
apt-get update -qq
|
||||
echo Installing node.js
|
||||
apt-get install -qq nodejs
|
||||
echo Updating npm...
|
||||
npm install -g npm
|
||||
|
||||
cd /vagrant
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue