在尝试安装npm时,我得到了Win32-x64-83_binding.ode无法下载的错误:
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
如果我转到链接:binding.node,我会得到一个404页未找到错误。
有什么问题吗?
发布于 2021-02-26 01:32:18
发布于 2021-10-14 07:22:53
从节点模块中删除节点-sass文件夹。
run
npm install node-sass@4.14.1
这将创建必需的节点- sass二进制文件with 32-x64-83_binding.ode,这是编译与节点版本14+兼容的sass文件所必需的。
单击这里以检查兼容性。
发布于 2022-11-02 19:42:16
https://stackoverflow.com/questions/66382986
复制