You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR in Entry module not found: Error: Can't resolve './src' in '/Users/alex/covid-dashboard'
ERROR in multi (webpack)-dev-server/client?http://localhost:8080 ./src
Module not found: Error: Can't resolve './src' in '/Users/alex/covid-dashboard'
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src main[1]
Not so easy to run it, I guess workers require https.
Some thoughts on this: The webpack dev-server got created for React. There, you can not open the src folder inside your browser, since the code needs to get compiled. So the dev server is supposed to get mapped to the dist folder as its root. Now in the neo.mjs context, we can and want to use the src folder as well, so I moved the root one level up, resulting in these 2 errors.
We could use a different web-server (like the one you mentioned) to make it easier for new users. We could also extend the logic on the dist/development part to use hot-module replacements there, in case you want to debug this mode. Edge casse scenario though, since you will spend most of the time outside the dist env.
There are already 2 tickets for it (inside the main repo):
Please let me know if you can get the app started inside your browser.
Best regards, Tobias
P.S.: The code of the app is also still present inside the framework repo, so you can as well clone this one (in case you want to play with the framework codebase).
Run
npm run server-start
gave me thisNot so easy to run it, I guess workers require https.
Can add some script for build it and run with some webserver (this for example https://www.npmjs.com/package/local-web-server)
The text was updated successfully, but these errors were encountered: