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
The command npm install paraviewweb --save fails due to the canvas dependency. To be more specific, I get a lot of errors similar to this:
../src/Canvas.cc:74:57: error: no matching function for call to ‘v8::Value::Uint32Value()’
if (info[0]->IsNumber()) width = info[0]->Uint32Value();
Furthermore, it appears that, for some reason, an old version of canvas is used: [email protected]. Indeed, if I just run npm install [email protected] --save I get the same error. However, if I write npm install canvas --save (which fetches version 2.5.0) it installs just fine.
If I do npm pack paraviewweb and grab the tarball of the package, I can see "canvas": "^1.6.9" under the dependencies section in the package.json. The canvas dependency appears to be removed from the latest version on GitHub.
I think it is a good idea to create a new npm release. Right now it is just impossible to install paraviewweb using npm.
Using a "clean/fresh" installation of Debian Linux (testing repo) and Node 12.6.0.
EDIT1: I forgot to mention that I have tried the installation using both gcc7.4 and gcc8.3. Same problem, no difference.
Thank you.
The text was updated successfully, but these errors were encountered:
I tried npm install it successfully after many trials/googles. It still gave me many warnings by saying something like:
‘...double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]...'
But finally it gave me like below:
make: Leaving directory '/home/robinnie/.npm-packages/lib/node_modules/paraviewweb/node_modules/canvas/build'
+ [email protected]
added 82 packages from 60 contributors in 13.395s
One trick for me is to avoid "sudo npm install ... because of permission error".
The command
npm install paraviewweb --save
fails due to thecanvas
dependency. To be more specific, I get a lot of errors similar to this:Furthermore, it appears that, for some reason, an old version of canvas is used:
[email protected]
. Indeed, if I just runnpm install [email protected] --save
I get the same error. However, if I writenpm install canvas --save
(which fetches version 2.5.0) it installs just fine.If I do
npm pack paraviewweb
and grab the tarball of the package, I can see"canvas": "^1.6.9"
under thedependencies
section in thepackage.json
. Thecanvas
dependency appears to be removed from the latest version on GitHub.I think it is a good idea to create a new
npm
release. Right now it is just impossible to installparaviewweb
usingnpm
.Using a "clean/fresh" installation of Debian Linux (testing repo) and Node 12.6.0.
EDIT1: I forgot to mention that I have tried the installation using both gcc7.4 and gcc8.3. Same problem, no difference.
Thank you.
The text was updated successfully, but these errors were encountered: