Closed sebastian-luna-valero closed 1 year ago
Running into the exact same error with npm instead of yarn. Downgraded nodejs to v16 (from 18), but that didn't help (though it removed all warnings during the install step).
@sebastian-luna-valero sorry I missed that.
We created a Makefile to assist you with this. yarn/npm or so has problems with openssl. Try using our Makefile.
make install
conda activate galaxyproject-hub
yarn install
make run
Yes, that is working for me :tada: Thanks!
@dannon Do you think we should replace the info at https://galaxyproject.org/hub/contributing/#running-the-development-server with these working instructions?
@wm75 I wouldn't replace it, as the standard instructions (without requiring Make/conda) should work on most platforms, too. Maybe an additional section?
I ran into this on the Galaxy side with the jump to node 18 and we were able to update webpack dependencies to fix it. I need to see if I can do the same here, without breaking gridsome.
One fix, so we didn't have to change any acutal dependencies for plugins we may or may not control is shown here:
Simply setting that env var for modern node will also resolve this without requiring additional dependency installs I believe.
Thanks! Now I have two working ways of building things locally. If I find a bit of time I'll think about adding the conda option as an alternative way to the instructions.
@wm75 Thank you!
Should be resolved and compatible with both node 16 and 17+ with https://github.com/galaxyproject/galaxy-hub/pull/1777
Hi,
When trying to build the site locally, following https://galaxyproject.org/hub/contributing/, I got:
Then nothing starts at http://localhost:8080/
Should
nodejs
andyarn
be pinned to specific versions?Many thanks, Sebastian