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

React 16/17 conflict #68

Open
chchch opened this issue Nov 12, 2021 · 4 comments
Open

React 16/17 conflict #68

chchch opened this issue Nov 12, 2021 · 4 comments

Comments

@chchch
Copy link

chchch commented Nov 12, 2021

Hi,

I can't seem to build this —mirador currently requires react@^16.8.3, which is conflicting with mirador-annotations which requires react@^17.0.

Thanks!

@D-Groenewegen
Copy link

I ran into this myself. Is it safe to use the --force flag, or would that break things?

@chchch
Copy link
Author

chchch commented Oct 14, 2022

I actually did manage to compile it eventually... I guess I used --force? This is what the dependencies in my package.json file look like:

  "dependencies": {
    "mirador": "^3.3.0",
    "mirador-annotations": "^0.5.0",
    "mirador-image-tools": "^0.11.0",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "url": "^0.11.0"
  }

@D-Groenewegen
Copy link

D-Groenewegen commented Oct 14, 2022

[Edited - spoke to soon]

Unfortunately no luck on my end.

@lpoujade
Copy link

lpoujade commented Nov 7, 2022

We got it working with version 0.4.0 of this plugin, which use react 16

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