控制台报错处理记录

ERROR:Node Sass version 7.0.1 is incompatible with ^4.0.0.

项目:vue create -p dcloudio/uni-preset-vue my-project

环境:Now using node v16.18.1 (npm v8.19.2)

报错:Node Sass version 7.0.1 is incompatible with ^4.0.0.

解决方法:

npm uninstall node-sass

npm i sass -D 

node-sass和nodejs的兼容性

npm install 报错 idealTree:lib:sill idealTree buildDeps

修改镜像

npm config set registry https://registry.npm.taobao.org 

npm config set registry https://registry.npmjs.org 

 

electron安装网络问题

npm config set ELECTRON_MIRROR https://registry.npmmirror.com/-/binary/electron/

posted @ 2022-11-19 11:15  Merrys  阅读(436)  评论(0编辑  收藏  举报