Thanks for your answer and your help. Sadly it doesn’t work for me, because I’m not adding the old react-dom version (17.0.2) directly over my package.json, I’m only loading the new version.
npm explain react-dom gives me the following output:
[email protected]
node_modules/react-dom
react-dom@"^18.2.0" from the root project
peer react-dom@">=18" from [email protected]
node_modules/react-abode
react-abode@"^2.0.0" from the root project
peer react-dom@">=16.8.0" from [email protected]
node_modules/react-animate-height
react-animate-height@"^3.1.0" from the root project
[email protected] dev
node_modules/@roots/bud-react/node_modules/react-dom
react-dom@"17.0.2" from @roots/[email protected]
node_modules/@roots/bud-react
@roots/bud-react@"6.6.6" from @roots/[email protected]
node_modules/@roots/bud-preset-wordpress
@roots/bud-preset-wordpress@"6.6.6" from @roots/[email protected]
node_modules/@roots/sage
dev @roots/sage@"6.6.6" from the root project
peerOptional @roots/bud-react@"*" from @roots/[email protected]
node_modules/@roots/sage
dev @roots/sage@"6.6.6" from the root project
peer react-dom@"^15.0.0 || ^16.0.0 || ^17.0.0" from [email protected]
node_modules/@roots/bud-react/node_modules/react-hot-loader
react-hot-loader@"^4.13.1" from @roots/[email protected]
node_modules/@roots/bud-react
@roots/bud-react@"6.6.6" from @roots/[email protected]
node_modules/@roots/bud-preset-wordpress
@roots/bud-preset-wordpress@"6.6.6" from @roots/[email protected]
node_modules/@roots/sage
dev @roots/sage@"6.6.6" from the root project
peerOptional @roots/bud-react@"*" from @roots/[email protected]
node_modules/@roots/sage
dev @roots/sage@"6.6.6" from the root project
I cannot change the [email protected] reference because it is implicitly loaded from another package. (bud-react) Do you have any other idea?