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

Error on Install #65

Open
ahaws-govcio opened this issue Jul 28, 2023 · 4 comments · May be fixed by #75
Open

Error on Install #65

ahaws-govcio opened this issue Jul 28, 2023 · 4 comments · May be fixed by #75
Assignees

Comments

@ahaws-govcio
Copy link

I am exploring that capabilities of FormIO and looking at using it in our React application, however, cloning the repo and executing npm install doesn't work.
I'll continue to work through the issue, but I would think this is something the starter application repo should resolve.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: react-starterkit-app@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"^18.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.0 || ^16.3.0 || ^15.5.4" from react-json-view@1.21.3
npm ERR! node_modules/react-json-view
npm ERR!   react-json-view@"^1.21.3" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
@brendanbond
Copy link
Contributor

did you try with the --legacy-peer-deps flag? FWIW we use yarn internally, it may be we just need to migrate this repo

@ahaws-govcio
Copy link
Author

@brendanbond , yes, I did continue working through the issue and used the --legacy-peer-deps and was able to get the install to execute. I raised the issue, because that wasn't documented and figured it should be resolved in the repo or at least in the documentation. FWIW.

@brendanbond
Copy link
Contributor

brendanbond commented Jul 28, 2023

Thanks @ahaws-govcio , and understood. There has recently been a big internal push to get the React and Angular libraries up to date and modernized, but unfortunately these "starter-kit" type apps will probably be downstream of those changes as we focus on making sure the underlying libraries themselves are ready for prime time. Stay tuned!

I'll go ahead and keep this issue open

@ZenMasterJacob20011
Copy link
Contributor

Thank you for taking the time to report this issue. It seems that the react-json-view has been deprecated and is no longer being updated. However there is a fork of the repository being maintained by other contributors. Ticket FIO-8363 has been created for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants