Open haf opened 1 month ago
Ping
@haf these errors are caused by an upstream dependency (react-masonry-component
) which does not explicitly state support for react 18 in its configuration. You can avoid the warning by following the steps suggested here: https://github.com/eiriklv/react-masonry-component/issues/168#issuecomment-1739368163
If the linked issue does not work, you might have to try the variation below:
"overrides": {
"@builder.io/widgets": {
"react-masonry-component": {
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0 || ^17.0.0 || ^18.0.0"
}
}
},
When following the NextJS quickstart (with SDK 1 as it's recommended), or the Remix quickstart (with SDK 1 or SDK 2), when you run the server, you get this warning:
When you add this dependency; you get a whole bunch of warnings from npm, and when running the project you still see the warning you tried to solve in the first place: