npm install sass@~1.32 sass-loader deepmerge -D install error:
PS E:\dome\automated-test-platform-vue2> npm install sass@~1.32 sass-loader deepmerge -D
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/webpack
npm ERR! dev webpack@"^3.6.0" from the root project
npm ERR!
npm ERR! peer webpack@"^5.0.0" from [email protected]
npm ERR! node_modules/sass-loader
npm ERR! dev sass-loader@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\shenyf\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\shenyf\AppData\Local\npm-cache\_logs\2022-01-13T03_11_17_119Z-debug.log
Solution:
PS E:\dome\automated-test-platform-vue2> npm install sass@~1.32 sass-loader@7 deepmerge -D
added 7 packages, and audited 1277 packages in 8s
63 packages are looking for funding
run `npm fund` for details
86 vulnerabilities (2 low, 69 moderate, 15 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Read More:
- [Solved] Gulp-sass Install Error: error: cannot find module ‘sass‘
- Module not found: Error: Can‘t resolve ‘sass-loader‘ in…
- Module not found: Error: Can‘t resolve ‘sass-loader‘
- [Solved] gulp-sass Package scss Files Error: Error in plugin “gulp-sass“Message:
- NPM Install Error: npm ERR! ERESOLVE unable to resolve dependency tree
- [Solved] Executing npm install error: npm ERR! code EINTEGRITY
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- Puppeteer Error: Chromium revision is not downloaded. Run “npm install“ or “yarn install“
- How to Fix Node SASS Error in Vue + webpack project after nodejs upgrade
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- Vue-element-admin Use npm install Error: npm ERR! Error while executing:
- [Solved] This usually happens because your environment has changed since running `npm install`
- npm install npm ERR code ERESOLVE [How to Solve]
- [Solved] Vue cli version is @ Vue/cli 4.5.13, and sass is used to report an error
- Vue Error: command failed: npm install –loglevel error –registry=https://registry.npm.taobao.org
- NPM install Error cb.apply is not a function
- [Solved] NPM install error: Maximum call stack size exceeded
- [Solved] npm Error: Error: Cannot find module ‘postcss-loader‘