Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspbian #61

Open
vico93 opened this issue Jul 12, 2018 · 0 comments
Open

Raspbian #61

vico93 opened this issue Jul 12, 2018 · 0 comments

Comments

@vico93
Copy link

vico93 commented Jul 12, 2018

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! phantomjs-prebuilt@2.1.16 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs-prebuilt@2.1.16 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant