目录
3、Missing binding node_modules/node-sass/vendor/darwin-x64-72/binding.node
5、webstorm Roaming\npm\vue.ps1,因为在此系统上禁止运行脚本
6、 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
7、This is probably not a problem with npm. There is likely additional logging output above.
8、启动vue项目,警告提示browserslist@latest --update-db
9、This is probably not a problem with npm. There is likely additional logging output above.
10、在VUE3+WebPack >5开发时遇到Module not found: Error: Can’t resolve ‘crypto’错误
12、npm ERR! Maximum call stack size exceeded
1、80端口占用问题
sudo lsof -n -P | grep :80
2、sass版本安装问题
https://github.com/sass/node-sass/releases
node@14.3.0
node-sass@4.14.1
sass-loader@7.3.1
| NodeJS |
Supported node-sass version |
Node Module |
| Node 17 |
7.0+ |
102 |
| Node 16 |
6.0+ |
93 |
| Node 15 |
5.0+, |
88 |
| Node 14 |
4.14+ |
83 |
| Node 13 |
4.13+, |
79 |
| Node 12 |
4.12+, |
72 |
| Node 11 |
4.10+, |
67 |
| Node 10 |
4.9+, |
64 |
| Node 8 |
4.5.3+, |
57 |
| Node |
npm uninstall node-sass
npm uninstall sass-loader
npm install sass-loader@^6.0.1 node-sass@^10.2.0 --save-dev //安装对应的版本
3、Missing binding node_modules/node-sass/vendor/darwin-x64-72/binding.node
找到node-sass链接,进入url:https://github.com/sass/node-sass/releases
.../node_modules/node-sass/vendor目录下新建目录 darwin-x64-72,将下载的文件放在此目录下,并更名为binding.node
或者使用以下淘宝镜像
npm install node-sass@4.14.1 --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/

最低0.47元/天 解锁文章
498

被折叠的 条评论
为什么被折叠?



