Skip to content

fix: resolve npm peer dependency warnings for React 19#117

Open
Kubudak90 wants to merge 1 commit into
base:masterfrom
Kubudak90:fix-npm-warnings-react19
Open

fix: resolve npm peer dependency warnings for React 19#117
Kubudak90 wants to merge 1 commit into
base:masterfrom
Kubudak90:fix-npm-warnings-react19

Conversation

@Kubudak90
Copy link
Copy Markdown

Problem

Running npm install in the new-mini-app-quickstart template produces peer dependency warnings due to use-sync-external-store@1.2.0 not supporting React 19.

Solution

Add npm overrides field to force use-sync-external-store to version ^1.4.0 which supports React 19.

Changes

  • Added overrides section to package.json specifying use-sync-external-store: ^1.4.0

Fixes #69

Add npm override for use-sync-external-store to version ^1.4.0 which
supports React 19. This resolves the ERESOLVE warnings when running
npm install in the new-mini-app-quickstart template.

The warning was caused by valtio@1.13.2 (dependency of @reown/appkit)
which depends on use-sync-external-store@1.2.0 that only supports
React 16/17/18.

Fixes base#69
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.

Npm warning on new-mini-app-quickstart

1 participant