You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project depends on both react-jsonschema-form (which depends on ajv version 5) and a separate instance of ajv library, version 6.
When I build my project with Webpack, react-jsonschema-form is trying to use the global ajv version 6 instead of its own ajv version 5, resulting in an error in runtime:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.
Description
My project depends on both
react-jsonschema-form
(which depends onajv
version 5) and a separate instance ofajv
library, version 6.When I build my project with Webpack,
react-jsonschema-form
is trying to use the globalajv
version 6 instead of its ownajv
version 5, resulting in an error in runtime:Here is my code example:
index.jsx
Problem can be solved by importing your bundle from
/dist
folder instead of using main module:instead of
Version
Encountered in
react-jsonschema-form
1.7 and 1.8.The text was updated successfully, but these errors were encountered: