243
文章
15
说说
1880
评论
603628
访问

个人博客网站:prettywordpress.com(吃饭用大碗的程序猿)

最新评论 纳尼!怎么还没有人在本站点留言(ó﹏ò。)
A+

npm rebuild node-sass记录

标签:   最后编辑:2022年4月12日

报错原因

node.js从8升级到了11,再次运行原有项目时提示如下

Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 11.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 8.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 install --save-dev rebuild-node-sass node-sass
知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

发表一下你的评论呗

回复评论代表你同意网站的 隐私政策

... 友情提示 请保留版权标识
复制成功!
目录
今日公告
生命是一团欲望,欲望不能满足便痛苦,满足便无聊,人生就在痛苦和无聊之间摇摆----叔本华
站长技能树
java
60%
javascript
55%
c
10%
typescript
50%
python
10%
免费咨询公众号