简体   繁体   English

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

[英]NPM install problem cannot download win32-x64-83_binding.node

When trying to install npm I get the error that win32-x64-83_binding.node cannot be downloaded:尝试安装 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

If I go to the link: https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-83_binding.node I get a 404 page not found error.如果我 go 到链接: https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-83_binding.node我得到一个 404 page not found 错误。

What is the problem?问题是什么?

You are facing issue due to the version incompatibility.由于版本不兼容,您面临问题。

The version you are trying to install is 4.13.1 of node-saas, while this version is not supported by Node 14+.您尝试安装的版本是 node-saas 的 4.13.1,而 Node 14+ 不支持此版本。

You can check here你可以在这里查看

With Node 14+, you need to install 4.14+ version of node-saas.使用 Node 14+,您需要安装 4.14+ 版本的 node-saas。

Remove node-sass folder from node-modules.从 node-modules 中删除 node-sass 文件夹。

run

npm install node-sass@4.14.1

This will create required node-sass binary file win32-x64-83_binding.node which is required to compile sass files which is compatible with node version 14+.这将创建所需的 node-sass 二进制文件win32-x64-83_binding.node ,这是编译与节点版本 14+ 兼容的 sass 文件所必需的。

Click here for checking compatibility.单击此处检查兼容性。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure Pipelines:无法下载“https://github.com/sass/node-sass/releases/download/v4.13.0/win32-x64-83_binding.node” - Azure Pipelines: Cannot download "https://github.com/sass/node-sass/releases/download/v4.13.0/win32-x64-83_binding.node" npm install node-sass@latest not installed with error: 无法下载“v5.0.0/linux_musl-x64-57_binding.node”: - npm install node-sass@latest not installed with error : Cannot download “v5.0.0/linux_musl-x64-57_binding.node”: 错误:找不到模块 \\node_modules\\sqlite3\\lib\\binding\\electron-v8.0-win32-x64\\node_sqlite3.node' - Error: Cannot find module \node_modules\sqlite3\lib\binding\electron-v8.0-win32-x64\node_sqlite3.node' node_modules/@discordjs/opus/prebuild/node-v83-napi-v3-win32-x64-unknown-unknown/opus.node:无效的 ELF header - node_modules/@discordjs/opus/prebuild/node-v83-napi-v3-win32-x64-unknown-unknown/opus.node: invalid ELF header 找不到模块'E:\node_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node' - Cannot find module 'E:\node_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node' EPERM:不允许操作,取消链接 'C:\Users\**\node_modules\.node-sass.DELETE\vendor\win32-x64-57\binding.node' - EPERM: operation not permitted, unlink 'C:\Users\**\node_modules\.node-sass.DELETE\vendor\win32-x64-57\binding.node' Windows x86_64:“node.exe 不是有效的 win32 应用程序” - Windows x86_64: "node.exe is not a valid win32 application" 无法在Win7上通过npm安装mongodb - Cannot install mongodb by npm on Win7 无法在Windows 2008 x64上安装node-mapnik - Cannot install node-mapnik on Windows 2008 x64 无法使用 NPM 安装节点 Sass - Cannot Install Node Sass with NPM
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM