phantomics / seed

Interactive software environment based on Common Lisp.
GNU General Public License v3.0
76 stars 4 forks source link

Dependency collision for react and react-codemirror #1

Open rigobert9 opened 1 year ago

rigobert9 commented 1 year ago

I've been wanting to try this amazing project for inspiration for a project of my own and my personal use, but I'm anything but a web developer. I tried reproducing the commands run by the installer when quickloading the project (in this report npm install --prefix "/home/rigobert9/Desktop/LisP/seed/seed.foreign.browser-spec.script.base/" especially), but I get the following error.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: seed-browserSpec-script-base@1.0.0
npm ERR! Found: react@16.14.0
npm ERR! node_modules/react
npm ERR!   react@"^16.4.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@">=15.5 <16" from react-codemirror@1.0.0
npm ERR! node_modules/react-codemirror
npm ERR!   react-codemirror@"^1.0.0" 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.

I tried fiddling with various package.json and package-lock.json, and deleted the upper constraint on react-codemirror, but only to run in gulp errors that required me to follow those instructions : 'primordials' not found for gulp. Even after forcing my way through these steps, I could not get an output from the server.

I also tried to use the --before option to the date of your last commit to this repo in my .npmrc, but to no avail, the packages seem to pick up a version that's too recent anyway.

Could you try to update these dependencies or run the appropriate procedure, or could you point me to a way that would allow me to enjoy the project with the packages it was last built with ?

Thanks for your hard work on this, and looking forward to be able to play around with it.

phantomics commented 1 year ago

Hi, Seed hasn't been updated in quite some time as you can see but I can try building it in its last stable iteration. I've started work on a rebuild of Seed with substantial design improvements over the original, including a much simpler implementation of the IO graph specs. That will probably be your best way to get acquainted with Seed but I'm not sure when it will be usable.

It may help if we could get on a screen share if time permits. Let me know, thanks.

rigobert9 commented 1 year ago

I will get in touch with you through your personal mail address, is that alright with you?

phantomics commented 1 year ago

Sure, use the one in my profile.