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

Dependency issues with Vue 2.7 #1165

Closed
dmaicher opened this issue Nov 21, 2022 · 2 comments · Fixed by #1166
Closed

Dependency issues with Vue 2.7 #1165

dmaicher opened this issue Nov 21, 2022 · 2 comments · Fixed by #1166

Comments

@dmaicher
Copy link
Contributor

I have some issues with Vue 2.7 and the latest release of @symfony/webpack-encore@4.1.1

npm ERR! While resolving: @symfony/webpack-encore@4.1.1
npm ERR! Found: @vue/compiler-sfc@2.7.14
npm ERR! node_modules/@vue/compiler-sfc
npm ERR!   @vue/compiler-sfc@"^2.7.14" from the root project
npm ERR!   @vue/compiler-sfc@"2.7.14" from vue@2.7.14
npm ERR!   node_modules/vue
npm ERR!     vue@"^2.6.12" from the root project
npm ERR!     peer vue@"^2.0.0 || >=3.0.0" from @cumul.io/vue-cumulio-dashboard@2.0.13
npm ERR!     node_modules/@cumul.io/vue-cumulio-dashboard
npm ERR!       @cumul.io/vue-cumulio-dashboard@"^2.0.6" from the root project
npm ERR!     16 more (@customer-alliance/ca-ui-components, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @vue/compiler-sfc@"^3.0.2" from @symfony/webpack-encore@4.1.1
npm ERR! node_modules/@symfony/webpack-encore

Should this also allow ^2.7?

https://github.com/symfony/webpack-encore/blob/main/package.json#L114

@stof
Copy link
Member

stof commented Nov 21, 2022

yes, it should

@dmaicher
Copy link
Contributor Author

For now I fixed it with

    "overrides": {
        "@symfony/webpack-encore": {
            "@vue/compiler-sfc": "^2.7 || ^3.0.2"
        }
    }

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

Successfully merging a pull request may close this issue.

2 participants