node-echarts icon indicating copy to clipboard operation
node-echarts copied to clipboard

npm install node-echarts 安装失败

Open zhongzhuhua opened this issue 5 years ago • 7 comments

[email protected] install node-pre-gyp install

node-pre-gyp WARN Using request 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-darwin-x64.tar.gz node-pre-gyp ERR! stack at Request.
prebuilt/node_modules/node-pre-gyp/lib/install.js:137:27) node-pre-gyp ERR! stack at Request.emit (events.js:205:15) node-pre-gyp ERR! stack at Request.onRequestResponse (node_modules/request/request.js:1066:10) node-pre-gyp ERR! stack at ClientRequest.emit (events.js:200:13) node-pre-gyp ERR! stack at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:23) node-pre-gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17) node-pre-gyp ERR! stack at TLSSocket.socketOnData (_http_client.js:452:22) node-pre-gyp ERR! stack at TLSSocket.emit (events.js:200:13) node-pre-gyp ERR! stack at addChunk (_stream_readable.js:294:12) node-pre-gyp ERR! stack at readableAddChunk (_stream_readable.js:275:11) node-pre-gyp ERR! System Darwin 17.7.0 node-pre-gyp ERR! command "/usr/local/bin/node" "/node_modules/canvas-prebuilt/node_modules/.bin/node-pre-gyp" "install" node-pre-gyp ERR! cwd //node_modules/canvas-prebuilt node-pre-gyp ERR! node -v v12.4.0 node-pre-gyp ERR! node-pre-gyp -v v0.10.3 node-pre-gyp ERR! not ok 404 status code downloading tarball https://github.com/chearon/node-canvas-prebuilt/releases/download/v1.6.11/canvas-prebuilt-v1.6.11-node-v72-darwin-x64.tar.gz 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! /Users/[user]/.npm/_logs/2019-06-17T19_39_11_503Z-debug.log

zhongzhuhua avatar Jun 17 '19 19:06 zhongzhuhua

哈喽,请问你解决了吗

Panpan0403 avatar Jul 27 '19 11:07 Panpan0403

您解决问题了吗?急用!!

robin-human avatar Oct 27 '19 02:10 robin-human

路径错了, 这个应该是源码中,配置错了吧,,我也报错了,哎。

endypark avatar Nov 11 '19 11:11 endypark

你们这个问题解决了吗,我这安装也是提示这个

hs151991 avatar Nov 27 '19 02:11 hs151991

我也出了这个错,后面把node版本降到10.x就好了

liulinfen avatar Mar 04 '20 09:03 liulinfen

大家解决这个问题了吗? image

hanhui avatar Dec 13 '20 04:12 hanhui

node版本10.x可以

jsspace avatar Mar 26 '21 03:03 jsspace