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

Camomile's config files are incompatible with js_of_ocaml #74

Open
nmsmith opened this issue Mar 29, 2019 · 0 comments
Open

Camomile's config files are incompatible with js_of_ocaml #74

nmsmith opened this issue Mar 29, 2019 · 0 comments

Comments

@nmsmith
Copy link

nmsmith commented Mar 29, 2019

Camomile's config file stuff relies on there being a file system that can be written to. This approach doesn't translate to the browser setting. A js_of_ocaml app that uses Camomile as a dependency experiences a runtime error "File does not exist" when it tries to load a config file upon starting.

This error seems to occur when the js_of_ocaml app is built in debug mode with separate compilation, but the config file access is somehow optimized away in release builds.

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