jakearchibald / wordle-analyzer

Apache License 2.0
100 stars 2 forks source link

Can't start dev server nor build #7

Open paoloricciuti opened 2 years ago

paoloricciuti commented 2 years ago

I've forked the repo to start working on the "save first nth word" feature.

But i can't actually start a development server nor build the project. Running npm run dev try to start a server on port 3000 without errors but trying to navigate there won't work. Trying to build i get a type exception for the rollup client bundler plugin (he tries to read the item filename but item is undefined)

image

jakearchibald commented 2 years ago

Hm, maybe my build script is broken on Windows

paoloricciuti commented 2 years ago

Can confirm I'm working on windows...if there's some way I can rapidly fix it I'll do it otherwise maybe I'll try to run the app in a docker container

paoloricciuti commented 2 years ago

I've managed to make it work with a docker container (i might include it in the pr for future developers that want to contribute) but i don't get hot reload (or reload at all)...it detect file changes but it never rebuild it seems. The only way to let it change is to kill and restart the docker image. Is that normal or am i missing something?

image