orca
orca copied to clipboard
npm install option asks for Depracated npm v8.x and even then does not work
Hey, The README says:
Method 2: npm
If you have Node.js installed (recommended v8.x), you can easily install Orca using npm as:
When installing nodejs v8 I get:
================================================================================
================================================================================
DEPRECATION WARNING
Node.js 8.x LTS Carbon is no longer actively supported!
You will not receive security or critical stability updates for this version.
You should migrate to a supported version of Node.js as soon as possible.
Use the installation script that corresponds to the version of Node.js you
wish to install. e.g.
* https://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium"
* https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium" (recommended)
* https://deb.nodesource.com/setup_14.x — Node.js 14 LTS "Fermium"
What version would orca work with on NodeJS?
Also, when installing I get:
$ sudo npm install -g [email protected] orca
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: use String.prototype.padStart()
/usr/bin/electron -> /usr/lib/node_modules/electron/cli.js
/usr/bin/orca -> /usr/lib/node_modules/orca/bin/orca.js
> [email protected] postinstall /usr/lib/node_modules/electron
> node install.js
/usr/lib/node_modules/electron/install.js:53
throw err
^
Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron/.electron'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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! /home/seluser/.npm/_logs/2020-07-14T17_08_54_545Z-debug.log
I am trying to install using node because I want to use it headless in docker in an existing image I have. Appimage is causing issues because there is no fuse option, and extracting the Appimage yields scripts that break.
It should work with newer version of node as well. However, the installation process can be difficult so we'll be replacing Orca with the new Kaleido project (https://github.com/plotly/Kaleido) which is significantly easier to install in docker containers and is our new recommended way forward for this kind of thing :)