Considering PhantomJS found at /usr/local/bin/phantomjs
Looks like an npm install -g
Error checking path, continuing { Error: Cannot find module '/usr/local/lib/node_modules/phantomjs/lib/location'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at getLocationInLibModuleIfMatching (/usr/local/lib/node_modules/phantomjs/install.js:332:19)
at Promise._successFn (/usr/local/lib/node_modules/phantomjs/install.js:389:28)
at nextTickCallback (/usr/local/lib/node_modules/phantomjs/node_modules/kew/kew.js:47:28)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9) code: 'MODULE_NOT_FOUND' }
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1//phantomjs-2.1.1-macosx.zip
Saving to /var/folders/ms/r0hv45sd4fbgdzbpxqwh7fsc0000gn/T/phantomjs/phantomjs-2.1.1-macosx.zip
Receiving...
npm WARN deprecated phantomjs@2.1.7: Package renamed to phantomjs-prebuilt. Please update 'phantomjs' package references to 'phantomjs-prebuilt' /usr/local/bin/phantomjs -> /usr/local/lib/node_modules/phantomjs/bin/phantomjs
Considering PhantomJS found at /usr/local/bin/phantomjs Looks like an
npm install -g
Error checking path, continuing { Error: Cannot find module '/usr/local/lib/node_modules/phantomjs/lib/location' at Function.Module._resolveFilename (module.js:440:15) at Function.Module._load (module.js:388:25) at Module.require (module.js:468:17) at require (internal/module.js:20:19) at getLocationInLibModuleIfMatching (/usr/local/lib/node_modules/phantomjs/install.js:332:19) at Promise._successFn (/usr/local/lib/node_modules/phantomjs/install.js:389:28) at nextTickCallback (/usr/local/lib/node_modules/phantomjs/node_modules/kew/kew.js:47:28) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) code: 'MODULE_NOT_FOUND' } Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1//phantomjs-2.1.1-macosx.zip Saving to /var/folders/ms/r0hv45sd4fbgdzbpxqwh7fsc0000gn/T/phantomjs/phantomjs-2.1.1-macosx.zip Receiving...