npm出错误node-sassvendorwin32-x64-83inding.node

Posted JackieDYH

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了npm出错误node-sassvendorwin32-x64-83inding.node相关的知识,希望对你有一定的参考价值。

错误

Missing binding node_modules\\node-sass\\vendor\\win32-x64-83\\binding.node
  Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 14.x
  Found bindings for the following environments:
    - Windows 64-bit with Node.js 14.x
  This usually happens because your environment has changed since running `npm install`.
  Run `npm rebuild node-sass` to download the binding for your current environment.

项目目录发现node_modules\\node-sass\\vendor\\win32-x64-83目录下为空

解决

去github下载所需文件放到目录里Release v4.14.0 · sass/node-sass (github.com)|sass/node-sass: Node.js bindings to libsass (github.com)

npm rebuild node-sass

以上是关于npm出错误node-sassvendorwin32-x64-83inding.node的主要内容,如果未能解决你的问题,请参考以下文章

React及npm的使用常见错误;新手来着

在 npm 更新 v5.4.2 后找不到 ./node_modules/react-router-dom 模块中的错误

意外的 NPM PeerDependency 错误

npm i react-push-notification npm ERR

npm install react-native-paper 期间的问题

在下面执行 npm install gettng 时出现 react-native 错误