svgexport icon indicating copy to clipboard operation
svgexport copied to clipboard

Raspbian

Open vico93 opened this issue 7 years ago • 0 comments

I'm trying to install this package on my raspbian stretch, but it always fails because phantomjs arent available for it.

Installing the .deb from this repo not work either, i always got this error:

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/lib/node_modules/svgexport/node_modules/phantomjs-prebuilt/lib/location.js'
    at Object.openSync (fs.js:443:3)
    at Object.writeFileSync (fs.js:1163:35)
    at writeLocationFile (/usr/lib/node_modules/svgexport/node_modules/phantomjs-prebuilt/lib/util.js:84:6)
    at Promise._successFn (/usr/lib/node_modules/svgexport/node_modules/phantomjs-prebuilt/install.js:375:11)
    at nextTickCallback (/usr/lib/node_modules/svgexport/node_modules/kew/kew.js:47:28)
    at process._tickCallback (internal/process/next_tick.js:61:11)
  errno: -13,
  syscall: 'open',
  code: 'EACCES',
  path:
   '/usr/lib/node_modules/svgexport/node_modules/phantomjs-prebuilt/lib/location.js' }
Unexpected platform or architecture: linux/arm
It seems there is no binary available for your platform/architecture
Try to install PhantomJS globally
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-07-12T00_57_38_975Z-debug.log

Is there anything i can do to install it on my pi?

vico93 avatar Jul 12 '18 01:07 vico93