Skip to content

chore: fix vite peer dependency issue for vue integration#12688

Merged
ematipico merged 2 commits intowithastro:mainfrom
yoyo837:fix-peer-dependencies
Dec 10, 2024
Merged

chore: fix vite peer dependency issue for vue integration#12688
ematipico merged 2 commits intowithastro:mainfrom
yoyo837:fix-peer-dependencies

Conversation

@yoyo837
Copy link
Contributor

@yoyo837 yoyo837 commented Dec 9, 2024

Changes

Fix vite peer dependency issue for vue integration

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @vitejs/plugin-vue-jsx@4.0.1
npm warn Found: vite@6.0.3
npm warn node_modules/vite
npm warn   vite@"^6.0.1" from @astrojs/vue@5.0.1
npm warn   node_modules/@astrojs/vue
npm warn     dev @astrojs/vue@"^5.0.1" from the root project
npm warn   4 more (@vitejs/plugin-legacy, @vitejs/plugin-vue, astro, vitefu)
npm warn
npm warn Could not resolve dependency:
npm warn peer vite@"^5.0.0" from @vitejs/plugin-vue-jsx@4.0.1
npm warn node_modules/@vitejs/plugin-vue-jsx
npm warn   @vitejs/plugin-vue-jsx@"^4.0.1" from @astrojs/vue@5.0.1
npm warn   node_modules/@astrojs/vue
npm warn
npm warn Conflicting peer dependency: vite@5.4.11
npm warn node_modules/vite
npm warn   peer vite@"^5.0.0" from @vitejs/plugin-vue-jsx@4.0.1
npm warn   node_modules/@vitejs/plugin-vue-jsx
npm warn     @vitejs/plugin-vue-jsx@"^4.0.1" from @astrojs/vue@5.0.1
npm warn     node_modules/@astrojs/vue
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: vite-hot-client@0.2.3
npm warn Found: vite@6.0.3
npm warn node_modules/vite
npm warn   vite@"^6.0.1" from @astrojs/vue@5.0.1
npm warn   node_modules/@astrojs/vue
npm warn     dev @astrojs/vue@"^5.0.1" from the root project
npm warn   4 more (@vitejs/plugin-legacy, @vitejs/plugin-vue, astro, vitefu)
npm warn
npm warn Could not resolve dependency:
npm warn peer vite@"^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0" from vite-hot-client@0.2.3
npm warn node_modules/vite-hot-client
npm warn   vite-hot-client@"^0.2.3" from @vue/devtools-core@7.6.4
npm warn   node_modules/@vue/devtools-core
npm warn
npm warn Conflicting peer dependency: vite@5.4.11
npm warn node_modules/vite
npm warn   peer vite@"^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0" from vite-hot-client@0.2.3
npm warn   node_modules/vite-hot-client
npm warn     vite-hot-client@"^0.2.3" from @vue/devtools-core@7.6.4
npm warn     node_modules/@vue/devtools-core
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: vite-plugin-inspect@0.8.8
npm warn Found: vite@6.0.3
npm warn node_modules/vite
npm warn   vite@"^6.0.1" from @astrojs/vue@5.0.1
npm warn   node_modules/@astrojs/vue
npm warn     dev @astrojs/vue@"^5.0.1" from the root project
npm warn   4 more (@vitejs/plugin-legacy, @vitejs/plugin-vue, astro, vitefu)
npm warn
npm warn Could not resolve dependency:
npm warn peer vite@"^3.1.0 || ^4.0.0 || ^5.0.0-0" from vite-plugin-inspect@0.8.8
npm warn node_modules/vite-plugin-inspect
npm warn   vite-plugin-inspect@"^0.8.7" from vite-plugin-vue-devtools@7.6.4
npm warn   node_modules/vite-plugin-vue-devtools
npm warn
npm warn Conflicting peer dependency: vite@5.4.11
npm warn node_modules/vite
npm warn   peer vite@"^3.1.0 || ^4.0.0 || ^5.0.0-0" from vite-plugin-inspect@0.8.8
npm warn   node_modules/vite-plugin-inspect
npm warn     vite-plugin-inspect@"^0.8.7" from vite-plugin-vue-devtools@7.6.4
npm warn     node_modules/vite-plugin-vue-devtools
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: vite-plugin-vue-devtools@7.6.4
npm warn Found: vite@6.0.3
npm warn node_modules/vite
npm warn   vite@"^6.0.1" from @astrojs/vue@5.0.1
npm warn   node_modules/@astrojs/vue
npm warn     dev @astrojs/vue@"^5.0.1" from the root project
npm warn   4 more (@vitejs/plugin-legacy, @vitejs/plugin-vue, astro, vitefu)
npm warn
npm warn Could not resolve dependency:
npm warn peer vite@"^3.1.0 || ^4.0.0-0 || ^5.0.0-0" from vite-plugin-vue-devtools@7.6.4
npm warn node_modules/vite-plugin-vue-devtools
npm warn   vite-plugin-vue-devtools@"^7.6.3" from @astrojs/vue@5.0.1
npm warn   node_modules/@astrojs/vue
npm warn
npm warn Conflicting peer dependency: vite@5.4.11
npm warn node_modules/vite
npm warn   peer vite@"^3.1.0 || ^4.0.0-0 || ^5.0.0-0" from vite-plugin-vue-devtools@7.6.4
npm warn   node_modules/vite-plugin-vue-devtools
npm warn     vite-plugin-vue-devtools@"^7.6.3" from @astrojs/vue@5.0.1
npm warn     node_modules/@astrojs/vue
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: vite-plugin-vue-inspector@5.2.0
npm warn Found: vite@6.0.3
npm warn node_modules/vite
npm warn   vite@"^6.0.1" from @astrojs/vue@5.0.1
npm warn   node_modules/@astrojs/vue
npm warn     dev @astrojs/vue@"^5.0.1" from the root project
npm warn   4 more (@vitejs/plugin-legacy, @vitejs/plugin-vue, astro, vitefu)
npm warn
npm warn Could not resolve dependency:
npm warn peer vite@"^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0" from vite-plugin-vue-inspector@5.2.0
npm warn node_modules/vite-plugin-vue-inspector
npm warn   vite-plugin-vue-inspector@"^5.2.0" from vite-plugin-vue-devtools@7.6.4
npm warn   node_modules/vite-plugin-vue-devtools
npm warn
npm warn Conflicting peer dependency: vite@5.4.11
npm warn node_modules/vite
npm warn   peer vite@"^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0" from vite-plugin-vue-inspector@5.2.0
npm warn   node_modules/vite-plugin-vue-inspector
npm warn     vite-plugin-vue-inspector@"^5.2.0" from vite-plugin-vue-devtools@7.6.4
npm warn     node_modules/vite-plugin-vue-devtools

Testing

Docs

@changeset-bot
Copy link

changeset-bot bot commented Dec 9, 2024

🦋 Changeset detected

Latest commit: 21d656c

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: vue Related to Vue (scope) pkg: integration Related to any renderer integration (scope) labels Dec 9, 2024
@yoyo837 yoyo837 changed the title chore: fix peer dependency issue for vue integration chore: fix vite peer dependency issue for vue integration Dec 9, 2024
@ematipico ematipico merged commit 7dc2fca into withastro:main Dec 10, 2024
@astrobot-houston astrobot-houston mentioned this pull request Dec 10, 2024
@yoyo837 yoyo837 deleted the fix-peer-dependencies branch December 11, 2024 08:53
@astrobot-houston astrobot-houston mentioned this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: integration Related to any renderer integration (scope) pkg: vue Related to Vue (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants