Closed LorisSigrist closed 7 months ago
cc @opral/inlang-sdk
This is likely a bug where the docker virtual file system is not correctly mounted to the real fs, causing in "files do not exist". If true, this can only be fixed in the configuration from docker & not from inlang side.
The user should be informed to copy the complete /app
directory into docker in order for this to work || copy at least the folders & files related to the inlang functionality (e.g. project.inlang dir, compiled messages output dir, ...).
Probably related: https://stackoverflow.com/a/48127041/6854385
Problem
From Discord
The Inlang SDK fails to locate the Inlang settings file in docker environments & crashes. It likely can't find a repository root either (which should still work for reading from FS)
Example Dockerfile:
Expected behavior
The SDK locates the settings
Reproduction
Read thread
Other information
Happened when using the Paraglide Astro integration (which just defers to the Vite plugin under the hood)