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

ketcher-react not working out of the box with create-react-app #1241

Closed
karen-sarkisyan opened this issue Feb 7, 2022 · 0 comments · Fixed by #1278
Closed

ketcher-react not working out of the box with create-react-app #1241

karen-sarkisyan opened this issue Feb 7, 2022 · 0 comments · Fixed by #1278
Assignees
Labels
Milestone

Comments

@karen-sarkisyan
Copy link
Contributor

Steps to Reproduce

  1. Use create-react-app to create a React app
  2. Use ketcher-react to render an Editor component
  3. Build application

Expected behavior
A React Application with Ketcher is built

Actual behavior
Error is thrown, stating that 'url' package can't be resolved with newer Webpack. A manual resolution is suggested (which can be done only if CRA is ejected).

Screenshots
Pasted Graphic

Environment

  • macOS Monterrey
  • create-react-app@latest
  • ketcher-react@2.4.1
@karen-sarkisyan karen-sarkisyan changed the title Not working out of the box with create-react-app ketcher-react not working out of the box with create-react-app Feb 7, 2022
@AndreiMazol AndreiMazol assigned neiloxx and unassigned AndreiMazol Feb 11, 2022
@AndreiMazol AndreiMazol added this to the Release 2.5.0 milestone Feb 11, 2022
neiloxx added a commit that referenced this issue Feb 21, 2022
…eact-not-working-out-of-the-box-with-create-react-app
AndreiMazol pushed a commit that referenced this issue Feb 21, 2022
…1278)

* Replace jsonschema package with ajv in ketcher-core

* Replace jsonschema package with ajv in ketcher-react

* Rename variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants