I started with the
ubuntu/trusty64 box on the vagrantcloud, modified the Vagrantfile for a provisioning script, and forwarded ports 3000 and 80 to 3030 and 8080 on the host.
This finishes without error, somewhat ominously. I
cd /vagrant/ and
mean init gzclweb, no errors.
cd gzclweb && sudo npm install, this time with a bunch of warnings about wanting things of an earlier version than I have installed. Running
grunt starts everything up (gives an error about missing some c++ bson extensions), starts the server, and accessing localhost:3030 gives the 404 error. It’s working!
This SO question caused me to add the
sudo apt-get install gcc make build-essential to the bootstrap.sh above. This fixed the previous errors about bson C++. MEAN is now running fantastically on my vagrantbox.