I'm submitting a ... (check one with "x")
[] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request
Current behavior
npm install complains about version compatibility with:
npm install (sweb-resolve/synapse_web/static/webpack) 12:14:18
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: jest-vue-preprocessor@1.7.1
npm ERR! Found: vue-template-compiler@2.7.14
npm ERR! node_modules/vue-template-compiler
npm ERR! vue-template-compiler@"2.7.14" from the root project
npm ERR! peerOptional vue-template-compiler@"^2.0.0" from @vue/cli-service@4.5.19
npm ERR! node_modules/@vue/cli-service
npm ERR! dev @vue/cli-service@"~4.5.18" from the root project
npm ERR! peer @vue/cli-service@"^3.0.0 || ^4.0.0-0" from @vue/cli-plugin-router@4.5.19
npm ERR! node_modules/@vue/cli-plugin-router
npm ERR! @vue/cli-plugin-router@"^4.5.19" from @vue/cli-service@4.5.19
npm ERR! 1 more (@vue/cli-plugin-vuex)
npm ERR! 2 more (@vue/test-utils, vue-jest)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue-template-compiler@"2.6.x" from jest-vue-preprocessor@1.7.1
npm ERR! node_modules/jest-vue-preprocessor
npm ERR! dev jest-vue-preprocessor@"^1.7.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: vue-template-compiler@2.6.14
npm ERR! node_modules/vue-template-compiler
npm ERR! peer vue-template-compiler@"2.6.x" from jest-vue-preprocessor@1.7.1
npm ERR! node_modules/jest-vue-preprocessor
npm ERR! dev jest-vue-preprocessor@"^1.7.1" 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.
Expected behavior
npm install works.
Minimal reproduction of the problem with instructions
package.json:
{
"main": "webpack.mix.js",
"private": true,
"dependencies": {
"vue": "2.7.14",
"vue-template-compiler": "2.7.14",
...
},
"devDependencies": {
"jest-vue-preprocessor": "^1.7.1",
...
},
}
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
- jest-vue-preprocessor: 1.7.1
- Node version : [ OSX | Linux | Windows ]
node -v
v14.20.0
npm -v (sweb-resolve/synapse_web/static/webpack) 12:31:54
8.6.0
- Platform: [ OSX | Linux | Windows ]
macOS 13.2.1
I'm submitting a ... (check one with "x")
Current behavior
npm installcomplains about version compatibility with:Expected behavior
npm installworks.Minimal reproduction of the problem with instructions
package.json:
{ "main": "webpack.mix.js", "private": true, "dependencies": { "vue": "2.7.14", "vue-template-compiler": "2.7.14", ... }, "devDependencies": { "jest-vue-preprocessor": "^1.7.1", ... }, }What is the motivation / use case for changing the behavior?
Please tell us about your environment:
macOS 13.2.1