Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supoort vue 2.7.x #196

Open
softloft38p-michael opened this issue Feb 22, 2023 · 0 comments
Open

Supoort vue 2.7.x #196

softloft38p-michael opened this issue Feb 22, 2023 · 0 comments

Comments

@softloft38p-michael
Copy link

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: [email protected]
npm ERR! Found: [email protected]
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/[email protected]
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/[email protected]
npm ERR!     node_modules/@vue/cli-plugin-router
npm ERR!       @vue/cli-plugin-router@"^4.5.19" from @vue/[email protected]
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 [email protected]
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: [email protected]
npm ERR! node_modules/vue-template-compiler
npm ERR!   peer vue-template-compiler@"2.6.x" from [email protected]
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant