Skip to content

fix: update vitejs/plugin-react to prevent peer dependency warning - #561

Merged
amrbashir merged 2 commits into
tauri-apps:devfrom
cmgriffing:update-vite-plugin-react
Dec 28, 2023
Merged

fix: update vitejs/plugin-react to prevent peer dependency warning#561
amrbashir merged 2 commits into
tauri-apps:devfrom
cmgriffing:update-vite-plugin-react

Conversation

@cmgriffing

Copy link
Copy Markdown
Contributor

I recently created a new Tauri project using React and TS. After installing with pnpm, I encountered this warning:

 WARN  Issues with peer dependencies found
.
└─┬ @vitejs/plugin-react 4.0.3
  └── ✕ unmet peer vite@^4.2.0: found 5.0.0

@vitejs/plugin-react 4.0.3 has a dependency on vite 4.x. Updating to 4.2.1 of the plugin fixes this warning.

@amrbashir

Copy link
Copy Markdown
Member

Thank you

@amrbashir
amrbashir merged commit 6171792 into tauri-apps:dev Dec 28, 2023
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 this pull request may close these issues.

2 participants