npm test resulting in error on fresh clone of repo
Closed this issue · 1 comments
I've not worked with npm much so when I cloned the repo to look into adding multireddits I went through npm install then npm test and received the following error.
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
Again not much experience with node or npm so I went to Google first and it doesn't appear to be an issue with my node or npm setup. Please feel free to correct me however if I am wrong.
Thanks.
Hey,
Thanks for reporting this issue. Testling breaks if it can't find a real browser or Phantomjs on PATH. The error message is cryptic. I've added the Phantomjs node module which should fix the issue. You will have to delete node_modules
and run npm install
again.