node-echarts
node-echarts copied to clipboard
linux 安装失败
[email protected] install /home/lightning-service/node_modules/canvas-prebuilt node-pre-gyp install
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: 404 status code downloading tarball https://github.com/chearon/node-canvas-prebuilt/releases/download/v1.6.11/canvas-prebuilt-v1.6.11-node-v72-linux-x64.tar.gz
node-pre-gyp ERR! stack at PassThrough.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install
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/2019-11-28T07_07_51_072Z-debug.log
因为canvas-prebuilt
已经deprecated,可以参考pull request第一条migrating from canvas-prebuilt which was deprecated to canvas 2.6.1 and refactoring code