Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build not working but rendering HTML #19

Open
jmtalarn opened this issue Mar 23, 2024 · 0 comments
Open

Build not working but rendering HTML #19

jmtalarn opened this issue Mar 23, 2024 · 0 comments

Comments

@jmtalarn
Copy link

jmtalarn commented Mar 23, 2024

An app using the elm-starter project, https://jmtalarn.github.io/30-days-of-elm/, is working fine while in development I use the npm run start command (aka "node ./src-elm-starter/elm-starter start")
But if I build it in order to be deployed in somewhere static content servant, like it could be github pages, the built is not working. Functionality is not there but no errors in console. Although, the pages are there as the HTML was generated and if you click on links or change the URL to one expected it loads it.

Not just when it is on github pages, also if locally I create the build and then run a static server on the build folder or run the npm run serverBuild (aka "node ./src-elm-starter/elm-starter serverBuild")

Additional Info. Javascript generated file elm-0.0.14-whatever.min.js on elm-stuff/elm-starter-files/build path is filled with an explicit undefined text. Just the word undefined inside the javascript file.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant