Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support React 18 #168

Open
Memo99 opened this issue May 15, 2022 · 2 comments
Open

Support React 18 #168

Memo99 opened this issue May 15, 2022 · 2 comments

Comments

@Memo99
Copy link

Memo99 commented May 15, 2022

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^0.14.0 || ^15.0.0-0 || ^16.0.0-0 || ^17.0.0" from react-masonry-component@6.3.0
npm ERR! node_modules/react-masonry-component
npm ERR! react-masonry-component@"^6.3.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@17.0.2
npm ERR! node_modules/react
npm ERR! peer react@"^0.14.0 || ^15.0.0-0 || ^16.0.0-0 || ^17.0.0" from react-masonry-component@6.3.0
npm ERR! node_modules/react-masonry-component
npm ERR! react-masonry-component@"^6.3.0" from the root project

@ismael-razz
Copy link

Bump on this comment.
Tried deploying through netlify and am getting the same error response.

@mmichaa
Copy link

mmichaa commented Sep 28, 2023

In the meanwhile you could use this as a workaround in your package.json file:

  # 
  "overrides": {
    "react-masonry-component": {
      "react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0 || ^17.0.0 || ^18.0.0"
    }
  },
  # 

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

No branches or pull requests

3 participants