phantomjs2 icon indicating copy to clipboard operation
phantomjs2 copied to clipboard

Failing to run on macOS because the build has Windows' \r\n newlines

Open axelpale opened this issue 8 years ago • 0 comments

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

axelpale avatar Sep 25 '17 18:09 axelpale