PhantomJS Crash - Exit Code 126
Sounds like it's not built for the platform you're trying to run it on. Make sure to delete your node_modules
directory and do a fresh npm install
when you clone your repository to a fresh platform. It's currently bad practice to include your node_nodules
dir in with your source control. Just keep your package.json
file maintained well and do a npm install
or npm update
for each repo clone. Also, add node_modules/
to your .gitignore
file if you're using git
so you don't have to worry about accidently including it when you add changes and commit.