phantomjs2
phantomjs2 copied to clipboard
Failing to run on macOS because the build has Windows' \r\n newlines
Running phantomjs on OS X El Capitan gives the following error:
env: node\r: No such file or directory
Similar issue and a solution here https://github.com/nwjs-community/nw-builder/issues/75
The issue is caused by Windows style carriage returns in the file node_modules/.bin/phantomjs