微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

npm安装问题无法下载win32-x64-83_binding.node

如何解决npm安装问题无法下载win32-x64-83_binding.node

尝试安装 npm 时出现无法下载 win32-x64-83_binding.node 的错误

npm WARN deprecated request@2.88.2: request has been deprecated,see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and Could be using insecure binaries. Upgrade to fsevents 2.

> fsevents@1.2.13 install C:\Users\***\node_modules\fsevents
> node install.js


Skipping 'fsevents' build as platform win32 is not supported

> node-sass@4.13.1 install C:\Users\***\node_modules\node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-83_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-83_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

如果我转到以下链接https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-83_binding.node 我收到 404 页面未找到错误

有什么问题?

解决方法

由于版本不兼容,您遇到了问题。

您尝试安装的版本是 node-saas 4.13.1,而 Node 14+ 不支持此版本。

您可以查看here

使用 Node 14+,您需要安装 4.14+ 版本的 node-saas。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。