PhantomJS does not exist Error

66 Views Asked by At

I get error PhantomJS does not exist at '/usr/local/phantomjs/bin/phantomjs on the terminal upon running the tests (npm tests) for Cloudboost Javascript SDK repo. Any idea how to fix this?

1

There are 1 best solutions below

0
UtkarshPramodGupta On BEST ANSWER

Install PhantomJS from here, and create a symlink of the downloaded folder in your /usr/local/ directory. Run the command npm test again and that error would be gone.