Hi. Thanks for the instructions. I am using OS X Mavericks with VirtualBox 4.3.16 and Vagrant 1.6.5. Everything installed correctly except when I try to create the project. Two problems I found. Git was missing, so I ran sudo apt-get install git. This allowed "bower install" to run. Running "npm install" gives an error:
vagrant@precise32:~/myProject$ npm install
npm WARN package.json myapp@0.0.1 No README data
npm WARN deprecated static-favicon@2.0.0-alpha: use serve-favicon module
npm ERR! Error: EACCES, mkdir '/home/vagrant/.npm/underscore/1.7.0'
npm ERR! { [Error: EACCES, mkdir '/home/vagrant/.npm/underscore/1.7.0']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/home/vagrant/.npm/underscore/1.7.0',
npm ERR! parent: 'myapp' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 3.2.0-23-generic-pae
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/vagrant/myProject
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! path /home/vagrant/.npm/underscore/1.7.0
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/home/vagrant/.npm/underscore/1.7.0'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/vagrant/myProject/npm-debug.log
npm ERR! not ok code 0
vagrant@precise32:~/myProject$
Hi. Thanks for the instructions. I am using OS X Mavericks with VirtualBox 4.3.16 and Vagrant 1.6.5. Everything installed correctly except when I try to create the project. Two problems I found. Git was missing, so I ran sudo apt-get install git. This allowed "bower install" to run. Running "npm install" gives an error:
vagrant@precise32:~/myProject$ npm install
npm WARN package.json myapp@0.0.1 No README data
npm WARN deprecated static-favicon@2.0.0-alpha: use serve-favicon module
npm ERR! Error: EACCES, mkdir '/home/vagrant/.npm/underscore/1.7.0'
npm ERR! { [Error: EACCES, mkdir '/home/vagrant/.npm/underscore/1.7.0']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/home/vagrant/.npm/underscore/1.7.0',
npm ERR! parent: 'myapp' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 3.2.0-23-generic-pae
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/vagrant/myProject
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! path /home/vagrant/.npm/underscore/1.7.0
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/home/vagrant/.npm/underscore/1.7.0'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/vagrant/myProject/npm-debug.log
npm ERR! not ok code 0
vagrant@precise32:~/myProject$