您现在的位置是:首页 > 电脑 > 

角度:nodejs升级到12.x后项目无法启动

2025-07-22 06:24:23
角度:nodejs升级到12.x后项目无法启动 通过以下消息将nodejs从10.x升级到12.x后,我的Angular项目无法构建和启动:Module build failed (from ./node_modules/sass-loader/lib/loader.js): Error: Missing binding C:\xxx\client\node_modules\node-sass\

角度:nodejs升级到12.x后项目无法启动

通过以下消息将nodejs从10.x升级到12.x后,我的Angular项目无法构建和启动:

Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding C:\xxx\client\node_modules\node-sass\vendor\win2-x64-72\
ode Sass could not find a binding for your current environment: Windows 64-bit with ode.js 12.x
Found bindings for the following environments:
- Windows 64-bit with ode.js 10.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.

我尝试了npm rebuild node-sass,但仍然无法正常工作。那是什么问题呢?

回答如下:

您可以尝试以下操作:

  1. 先删除node_modules,然后再删除npm i
  2. 卸载node-sass,然后重新安装它。

    npm uninstall node-sass npm i node-sass

#感谢您对电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格的认可,转载请说明来源于"电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格

本文地址:http://www.dnpztj.cn/diannao/880939.html

相关标签:无
上传时间: 2024-04-17 06:59:21
留言与评论(共有 17 条评论)
本站网友 青岛市妇幼保健院
7分钟前 发表
Missing binding C
本站网友 河南投资担保
17分钟前 发表
那是什么问题呢? 回答如下:您可以尝试以下操作:先删除node_modules
本站网友 偏门
28分钟前 发表
npm uninstall node-sass npm i node-sass
本站网友 书房设计
29分钟前 发表
然后重新安装它
本站网友 氨气的危害
17分钟前 发表
然后重新安装它
本站网友 化妆品培训
9分钟前 发表
- Windows 64-bit with ode.js 10.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. 我尝试了npm rebuild node-sass
本站网友 男人为什么喜欢吃奶
21分钟前 发表
角度:nodejs升级到12.x后项目无法启动 通过以下消息将nodejs从10.x升级到12.x后
本站网友 结石治疗
11分钟前 发表
那是什么问题呢? 回答如下:您可以尝试以下操作:先删除node_modules
本站网友 破解网站
8分钟前 发表
我的Angular项目无法构建和启动:Module build failed (from ./node_modules/sass-loader/lib/loader.js)
本站网友 自行我路
24分钟前 发表
角度:nodejs升级到12.x后项目无法启动 通过以下消息将nodejs从10.x升级到12.x后
本站网友 皮科特
26分钟前 发表
Windows 64-bit with ode.js 12.x Found bindings for the following environments
本站网友 胆经穴位图
23分钟前 发表
- Windows 64-bit with ode.js 10.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. 我尝试了npm rebuild node-sass
本站网友 写挂论坛
4分钟前 发表
然后再删除npm i卸载node-sass
本站网友 后台界面
29分钟前 发表
- Windows 64-bit with ode.js 10.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. 我尝试了npm rebuild node-sass
本站网友 安徽财贸职业技术学院
17分钟前 发表
然后再删除npm i卸载node-sass
本站网友 信阳电影院
18分钟前 发表
然后再删除npm i卸载node-sass