When executing the named NPM run dev to start the front-end project, the following error is reported
Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0.
From the prompt, I downloaded the latest dependency. The current version is incompatible. Later, I checked the relevant documents, which is really caused by the high version;
The simple way is to find the appropriate version and install the specified version (try it several times if you don’t know the version)
The processing steps are as follows:
#uninstall npm uninstall node-sass #install with the version npm install [email protected] --save-dev
Run NPM run dev again
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- [Solved] error [email protected]: The engine “node” is incompatible with this module.
- [Solved] Gulp-sass Install Error: error: cannot find module ‘sass‘
- [Solved] Vue cli version is @ Vue/cli 4.5.13, and sass is used to report an error
- Module not found: Error: Can‘t resolve ‘sass-loader‘
- How to Fix Node SASS Error in Vue + webpack project after nodejs upgrade
- Module not found: Error: Can‘t resolve ‘sass-loader‘ in…
- Webpack Error: Module build failed: TypeError: this.getOptions is not a function
- [Solved] Elasticsearch error: cannot downgrade a node from version [7.xx.x] to version [7.xx.x]
- [Solved] npm install [email protected]~1.32 sass-loader deepmerge -D Install Error
- How to Solve Import antd Error: Module build failed
- [Solved] gulp-sass Package scss Files Error: Error in plugin “gulp-sass“Message:
- [Solved] Android Studio Error: The binary version of its metadata is 1.5.1, expected version is 1.1.15.
- [Solved] Yarn install Error: “error Found incompatible module.”
- Jenkins uses NPM to build Vue error, and the manual build is normal
- [Solved] Vue.js error: Module build failed: Error: No parser and no file path given, couldn’t infer a parser.
- [Solved] Installation failed due to: ‘INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to