轉自:https://blog.csdn.net/qubes/article/details/122231774
problem
使用 create-react-app 構建前端工程
想要使用sass,安裝好 npm install node-sass --save
啟動服務報錯:
Node Sass version 7.0.1 is incompatible with ^4.0.0
看錯誤是不兼容導致的
solution
npm uninstall node-sass
npm i -D sass
npm run start