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

Update to v0.26 / backend fails with v0.24 #8

Closed
pascalwengerter opened this issue Jan 24, 2023 · 3 comments · Fixed by #9
Closed

Update to v0.26 / backend fails with v0.24 #8

pascalwengerter opened this issue Jan 24, 2023 · 3 comments · Fixed by #9

Comments

@pascalwengerter
Copy link
Contributor

pascalwengerter commented Jan 24, 2023

Just tried spinning up the repo, but it will fail with a backend error when using gleam v0.24 (which is being used in the Dockerfile) and can't find the frontend app when using gleam v0.26.
Which makes me wonder if a) a very basic (integration) test setup and b) some sort of language version pinning (similar to e.g. the "engines" in a JS package.json) could help prevent such a situation?

@lpil
Copy link
Member

lpil commented Jan 24, 2023

Yup! There's an issue for this in the main repo!

Thanks for reporting the issue here, I'll upgrade this appp

@pascalwengerter
Copy link
Contributor Author

Yup! There's an issue for this in the main repo!

Thanks for reporting the issue here, I'll upgrade this appp

You mean gleam-lang/gleam#1813?
Could you give me some pointers as to what as to happen to update the survey to v0.26? Happy to work on that eventually

@lpil
Copy link
Member

lpil commented Jan 26, 2023

Ah yes! The directory structure for JavaScript changed very slightly. You'll need to find paths that have .../dist/... in them and remove that directory. so abc/dist/efg becomes abc/efg.

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

Successfully merging a pull request may close this issue.

2 participants