ElementUI npm install errors

 Why: node-sass@4 isn't compatable with NodeV16, so I changed node-sass to V6, then I run nr dev:play, ERROR:node-sass...


I found this blog:https://blog.csdn.net/qq_42389120/article/details/126544241, It says that we should use node v14...


After one-day's searching and trying, I tested all solutions in the Internet, no solutions worked, but I known that node-sass caused my problem , then I try to downgrade my Node version to V11(based on node-sass README) instead of upgrade node-sass(@4.11.0) to a higher one.



Follow authors' package versions!!!

Comments

Popular posts from this blog

被裁感想

日志[2024/10/8-2024/10/31]

日志[2024.9.3-2024.9.29]