oxUnd / node-pngcrush

node-pngcrush 一个进行png图片压缩的node native插件
44 stars 15 forks source link

安装时,提示出下载出错,求解决 #60

Closed ssvip9527 closed 4 years ago

ssvip9527 commented 5 years ago

www2015:app.nodejs-react2 dreamxyp$ node -v v12.8.1 www2015:app.nodejs-react2 dreamxyp$ npm -v 6.10.2 www2015:app.nodejs-react2 dreamxyp$ www2015:app.nodejs-react2 dreamxyp$ npm install -g node-pngcrush

node-pngcrush@1.0.1 install /Users/dreamxyp/.node_global/lib/node_modules/node-pngcrush node ./scripts/install.js

Downloading binary from https://github.com/xiangshouding/node-pngcrush/releases/download/v1.0.1/darwin-x64-72_binding.node Cannot download "https://github.com/xiangshouding/node-pngcrush/releases/download/v1.0.1/darwin-x64-72_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g.

  export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

  npm config set proxy http://example.com:8080