Closed AnitaYCheng closed 9 years ago
after doing vagrant ssh, I ran those commands, I'm pretty sure just npm install
was necessary but still pasting everything that made it work for me
npm install grunt
npm install grunt-browserify grunt-contrib-uglify grunt-contrib-cssmin
npm install request
npm install gulp-imagemin
npm install gulp.spritesmith
npm install gulp-clean
npm install gulp-nodemon
npm install amazon-payments
bower --config.interactive=false install -f
npm install
to figure out the missing dependencies I was running gulp run:dev
every time, then installing the missing dependency.
in the end, http://habitica.wikia.com/wiki/Installation_troubleshooting gives the answer ...
Hello @AnitaYCheng, I had the similar problem with phatomjs
dependency, and I suggested one fix in issue #5801 . Please, check if this solution work to you :)
Recloned the repo to clean out my Git setup, having trouble setting up my local environment with Vagrant with this latest clone. Spent the last few days repeating
vagrant destroy
rm -rf node_modules
vagrant up
with no avail.On
vagrant up
command, the following errors occur (sorry, this is going to be LONG):If I attempt
vagrant ssh
from that, it results in the following error:I've tried installing grunt individually and phantomjs individually, but using
vagrant up
andvagrant ssh
still results in the error.Pie in the sky "I want it to work ASAP!" solution, I wonder...I have an older, 2-month-old clone of the HabitRPG repo in another folder, with a working Vagrantbox. Would it be possible to copy the hidden .vagrant folder from that folder to the newer one and have it install the necessary components that way? I didn't want to try it before getting feedback since I'm sure there have been updates to that folder, but I really just want it to work!