hellosean1025 / node-echarts

Generate chart by echarts in nodejs.
281 stars 88 forks source link

npm install node-echarts 安装不上 #25

Open zwmmm opened 5 years ago

zwmmm commented 5 years ago

Version

~

What is expected

D:\code\fsight-project>cd web

D:\code\fsight-project\web>tnpm install babel-runtime --save npm WARN co-mocha@1.2.2 requires a peer of mocha@>=1.18 <6 but none is installed. You must install peer dependencies yourself. npm WARN mini-css-extract-plugin@0.6.0 requires a peer of webpack@^4.4.0 but none is installed. You must install peer dependencies yourself. npm WARN terser-webpack-plugin@1.2.3 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

D:\code\fsight-project\web>tnpm install node-echarts

canvas-prebuilt@1.6.11 install D:\code\fsight-project\web\node_modules\canvas-prebuilt 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: connect ETIMEDOUT 52.74.223.119:443 node-pre-gyp ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14) node-pre-gyp ERR! System Windows_NT 10.0.16299 node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\code\fsight-project\web\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" node-pre-gyp ERR! cwd D:\code\fsight-project\web\node_modules\canvas-prebuilt node-pre-gyp ERR! node -v v10.13.0 node-pre-gyp ERR! node-pre-gyp -v v0.10.3 node-pre-gyp ERR! not ok connect ETIMEDOUT 52.74.223.119:443 npm WARN co-mocha@1.2.2 requires a peer of mocha@>=1.18 <6 but none is installed. You must install peer dependencies yourself. npm WARN mini-css-extract-plugin@0.6.0 requires a peer of webpack@^4.4.0 but none is installed. You must install peer dependencies yourself. npm WARN terser-webpack-plugin@1.2.3 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

Step to reproduce

~

Environment

~

chfw commented 5 years ago

node-pre-gyp ERR! stack Error: connect ETIMEDOUT 52.74.223.119:443

zwmmm commented 5 years ago

@chfw node-pre-gyp 需要怎么安装才行

hs151991 commented 4 years ago

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