【发布时间】:2021-05-28 16:00:36
【问题描述】:
尝试安装 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 page not found 错误。
有什么问题?
【问题讨论】:
-
能否提供您正在使用的node、js版本?
-
节点版本:v14.15.5
标签: node.js sass npm-install