andymatuschak / orbit

Experimental spaced repetition platform for exploring ideas in memory augmentation and programmable attention
https://withorbit.com
Other
1.71k stars 54 forks source link

Build and Run of web app failed #229

Closed dgdosen closed 3 years ago

dgdosen commented 3 years ago

(Please read the "Contributing" section of the project README before continuing.)

Describe the bug I downloaded the project, and followed the readme(s):

Running in this mode , I could see three browser tabs for:

To Reproduce Steps to reproduce the behavior:

See the description above - starting from 'scratch' I was using node 14.17.3 (LTS)

Expected behavior Orbit running!

Screenshots orbit_error

Desktop (please complete the following information):

Is there a version of react/react-hooks that should be used for the app? Might there be breaking changes when installing and pulling what might be newer versions of react?

andymatuschak commented 3 years ago

Sorry for the trouble, @dgdosen. The dangers of the Node ecosystem: two different dependencies were depending on different versions of React. And the problem happened not to manifest on my system because of stale node_modules. One more reason to make integration testing happen, I suppose (cc @kirkbyo).

This should be fixed now. If the problem persists, you may need to delete node_modules in both the root directory of the project and in packages/app; and you may need to run yarn web -c to clear the bundler's caches.