in recent projects, SCSS has been directly used, and it is found that an error is reported. Up to now, I don’t know the cause, but I probably know that it is node, but the solution has been found. Let’s share:
1、 Error reporting
./src/components/alert_tip/alert_tip.scss (./node_modules/css-loader??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/lib/loader.js!./src/components/alert_tip/alert_tip.scss)
Error: ENOENT: no such file or directory, scandir 'C:\Users\Administrator\Desktop\xxx\xxx\xxx\xxx\xxx-elm\node_modules\node-sass\vendor'
2、 Solution
just run the following code directly:
npm rebuild node-sass
hope to help you h6>
Read More:
- Solution of project error reporting in eclipse
- Does Vue project already have sass loader dependency or report an error using lang = “SCSS”
- Solution of node canvas error reporting in MacOS M1 installation
- Installation problems in using SCSS
- Syntax error: typeerror: this.getoptions is not a function an error is reported when the. SCSS file is imported globally
- Solution to error reporting during installation of xlsx style
- Maven project pom.xml Solutions to error reporting
- The spring boot project directly replaces the referenced jar package
- Solution of Java resources error reporting
- HDFS and local file transfer and error reporting
- Introduce vuex error reporting solution
- Solution of selenium driven edge error reporting
- Error reporting: java.lang.nullpointerexception solution
- After using fastlick, double-click the error reporting solution
- Python installation pysimplegui error reporting solution
- about jQuery.js The solution to always reporting errors
- Ultimate solution to error reporting of sudo rosdep init of ROS
- Redhat8 make nginx error reporting solution
- Solution of epol warehouse error reporting during openeuler-21.09 DNF update
- Process finished with exit code 0 error reporting solution