You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.
When using phantomjs-prebuilt v2.1.14 as dependency for HighCharts Node Export Server (see https://github.com/highcharts/node-export-server), then "phantomjs-prebuilt/lib/location.js" file is not created during installation resulting in non-working PhantomJS:
→ npm install highcharts-export-server -g
/usr/local/bin/highcharts-export-server -> /usr/local/lib/node_modules/highcharts-export-server/bin/cli.js
> [email protected] install /usr/local/lib/node_modules/highcharts-export-server/node_modules/phantomjs-prebuilt
> node install.js
Considering PhantomJS found at /usr/local/bin/phantomjs
Found PhantomJS at /usr/local/bin/phantomjs ...verifying
Writing location.js file
Error checking path, continuing { Error: EACCES: permission denied, open '/usr/local/lib/node_modules/highcharts-export-server/node_modules/phantomjs-prebuilt/lib/location.js'
at Object.fs.openSync (fs.js:652:18)
at Object.fs.writeFileSync (fs.js:1299:33)
at writeLocationFile (/usr/local/lib/node_modules/highcharts-export-server/node_modules/phantomjs-prebuilt/lib/util.js:84:6)
at Promise._successFn (/usr/local/lib/node_modules/highcharts-export-server/node_modules/phantomjs-prebuilt/install.js:375:11)
at nextTickCallback (/usr/local/lib/node_modules/highcharts-export-server/node_modules/kew/kew.js:47:28)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/usr/local/lib/node_modules/highcharts-export-server/node_modules/phantomjs-prebuilt/lib/location.js' }
Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Verified checksum of previously downloaded file
Extracting tar contents (via spawned process)
Removing /usr/local/lib/node_modules/highcharts-export-server/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1533892810919/phantomjs-2.1.1-linux-x86_64 -> /usr/local/lib/node_modules/highcharts-export-server/node_modules/phantomjs-prebuilt/lib/phantom
chmod failed: phantomjs was not successfully copied to /usr/local/lib/node_modules/highcharts-export-server/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-08-10T09_20_17_049Z-debug.log
root at prod-mbp in /tmp/phantomjs
When using
phantomjs-prebuilt
v2.1.14 as dependency for HighCharts Node Export Server (see https://github.com/highcharts/node-export-server), then "phantomjs-prebuilt/lib/location.js" file is not created during installation resulting in non-working PhantomJS:See more at highcharts/node-export-server#161
The text was updated successfully, but these errors were encountered: