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

Web Docker: main.dart.js #6

Closed
DieterKoblenz opened this issue Jan 22, 2022 · 9 comments · Fixed by #7
Closed

Web Docker: main.dart.js #6

DieterKoblenz opened this issue Jan 22, 2022 · 9 comments · Fixed by #7
Labels
bug Something isn't working

Comments

@DieterKoblenz
Copy link

main.dart.js:4015 Uncaught TypeError: null: type 'minified:vf' is not a subtype of type 'String'

I'm getting a blank screen when I try to load the web application.

@DieterKoblenz
Copy link
Author

I'm assuming you also included this fix in the docker image? I just deleted the container, and started it again. I'm still getting this error:

Uncaught TypeError: null: type 'minified:vf' is not a subtype of type 'String' at Object.c (main.dart.js:4015:3) at Object.aRA (main.dart.js:4630:18) at kj.b5W [as a] (main.dart.js:4625:3) at Object.cK (main.dart.js:5244:25) at Object.b85 (main.dart.js:26871:26) at main.dart.js:26892:14 at aFj.a (main.dart.js:5201:62) at aFj.$2 (main.dart.js:39419:14) at aE2.$1 (main.dart.js:39413:21) at a2s.oI (main.dart.js:40482:31)

@TomBursch
Copy link
Owner

Did you pull the latest image again?

docker pull tombursch/kitchenowl-web

This should be fixed. There seems to be a bug in one of the dependencies.

@DieterKoblenz
Copy link
Author

Yeah, I did:

latest: Pulling from tombursch/kitchenowl-web Digest: sha256:863d9416ce0dfb0b5882a9197e2e420d44ce7b0e996ca86840490df5086d0131 Status: Image is up to date for tombursch/kitchenowl-web:latest

@TomBursch
Copy link
Owner

Hmm strange, it works for me. Are you sure you're using this version for the container?
What does is say at KitchenOwl when running docker container ls?

@DieterKoblenz
Copy link
Author

d1af58f1863d tombursch/kitchenowl-web:latest "./entrypoint.sh" 8 hours ago Up 8 hours 0.0.0.0:7411->80/tcp KitchenOwlWeb 5788fb8d79e0 tombursch/kitchenowl "./entrypoint.sh" 20 hours ago Up 9 hours (healthy) 0.0.0.0:7410->5000/tcp KitchenOwl

@DieterKoblenz
Copy link
Author

Yeah this is the output:
"Image": "sha256:f4265cca1ec2da952f34c4103b949de8cefce4b4500b102b06cea74a7ed2fa02", "Image": "tombursch/kitchenowl-web:latest",

I'll try it on a different machine too with compose.

@TomBursch
Copy link
Owner

Accidentally deleted my comment.
Hmm really strange I'll reopen the issue.

@TomBursch TomBursch reopened this Jan 23, 2022
@TomBursch TomBursch added the bug Something isn't working label Jan 23, 2022
@TomBursch
Copy link
Owner

Did you get a chance to try it on another system yet? What browser are you using?

@DieterKoblenz
Copy link
Author

I'm using Chrome (97), the web docker is working on the second machine.

I'll try to figure out what is wrong with my regular setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants