generated from alitajs/umi4-playground
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hi, out the of the box, the plugin doesn't seem to support React 19.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: react-helmet-async@2.0.5
npm error Found: react@19.0.0
npm error node_modules/react
npm error react@"^19.0.0" from the root project
npm error peer react@">=16" from @alita/inspx@0.0.2
npm error node_modules/@alita/inspx
npm error @alita/inspx@"0.0.2" from @alita/plugins@3.3.10
npm error node_modules/@alita/plugins
npm error @alita/plugins@"^3.2.11" from umi-presets-pro@2.0.3
npm error node_modules/umi-presets-pro
npm error umi-presets-pro@"^2.0.3" from the root project
npm error 130 more (@ant-design/charts-util, @ant-design/cssinjs, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.6.0 || ^17.0.0 || ^18.0.0" from react-helmet-async@2.0.5
npm error node_modules/react-helmet-async
npm error react-helmet-async@"^2.0.5" from the root project
npm error
npm error Conflicting peer dependency: react@18.3.1
npm error node_modules/react
npm error peer react@"^16.6.0 || ^17.0.0 || ^18.0.0" from react-helmet-async@2.0.5
npm error node_modules/react-helmet-async
npm error react-helmet-async@"^2.0.5" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
Could it be possible to update the lib to make it work?
There is a fork of a fork that support it https://www.npmjs.com/package/@dr.pogodin/react-helmet
Regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels