Closed bek0s closed 5 years ago
any news on this? I met the same issue.
I'm guessing I might be able to tackle it at some point next week. Sorry for the delay.
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'
+ paraviewweb@3.2.8
added 82 packages from 60 contributors in 13.395s
One trick for me is to avoid "sudo npm install ... because of permission error".
Thanks a lot.
:tada: This issue has been resolved in version 3.2.9 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
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:
canvas@1.6.13
. Indeed, if I just runnpm install canvas@1.6.13 --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.