so you should be able to run the environment now with
nvm use
npm install
touch src/demo/dashboard.css
npm run start
I've added an .nvmrc file to know which node version to use when using this repo, unfortunately node 20 isn't named yet, whats in the file should be a named version eg lts/hydrogen so this will be something to watch for. You may have more luck (and compatibility) using node 18. I didn't set it to lts/* because that will use the highest lts version you happen to have installed, I ran and tested it with v20.5.1 so I've locked it to that, you could also do v20.* if needed too.
I changed the port for npm run start to 8000, this is because theres a bug in webpack serve, osx now uses that port for ✨🤷♀️✨ which means there will be inconsistent loading for different environments.
I added the openssl-legacy-provider flag to the npm run start script as well
the missing dashboard.css file causes an error when developing but I don't know enough about the other half of the setup to start messing with that, so for now touch src/demo/dashboard.css will do!
(also I added a small syntax fix for the css prop names - I couldn't help it! 😂 )
@urquha
so you should be able to run the environment now with
I've added an
.nvmrc
file to know which node version to use when using this repo, unfortunately node 20 isn't named yet, whats in the file should be a named version eglts/hydrogen
so this will be something to watch for. You may have more luck (and compatibility) using node 18. I didn't set it tolts/*
because that will use the highest lts version you happen to have installed, I ran and tested it withv20.5.1
so I've locked it to that, you could also dov20.*
if needed too.I changed the port for
npm run start
to 8000, this is because theres a bug in webpack serve, osx now uses that port for ✨🤷♀️✨ which means there will be inconsistent loading for different environments.I added the
openssl-legacy-provider
flag to thenpm run start
script as wellthe missing
dashboard.css
file causes an error when developing but I don't know enough about the other half of the setup to start messing with that, so for nowtouch src/demo/dashboard.css
will do!(also I added a small syntax fix for the css prop names - I couldn't help it! 😂 )