Closed ZerdoX-x closed 3 months ago
CC @HokkaidoInu from https://github.com/opral/inlang-paraglide-js/discussions/42#discussioncomment-8915359
I'm having the same message when using version 1.2.24 and upwards of "@inlang/paraglide-js-adapter-vite"
Thanks for reporting, I'll take a look
For now, the error should go away if you initialize a git repo. There was an update to the inlang SDK that introduced some weird behavior here.
For now, the error should go away if you initialize a git repo. There was an update to the inlang SDK that introduced some weird behavior here.
Um.. so the error occurs in my prod docker because it's not in a git repo? I guess it's easier for me to stay on 0.5.12 and just wait for the upstream fix.
Thank you for such quick response! Glad to help with bugs, not that hard to make a good report ;)
Um.. so the error occurs in my prod docker because it's not in a git repo?
Yeah, it's unintuitive behavior. Should be a quick fix though, I'm pretty sure I know what's wrong
Should be fixed in version 0.5.17
which will be available in a few minutes
I'll try it as soon as it will be available and give you feedback on it
Seems like 30 mins is not enough for npm registry. Could you double check it's released? If yes, I'll just check it later
Reproduction url: https://git.sr.ht/~zerdox/paraglide-js-adapter-sveltekit-51 Steps:
npm i
npm run build
Warning when running locally:
Error: (for some reason it occurs only in my production docker build)
This warning and error does not appear on <=0.5.12 (could not test on 0.5.13 as it's not functional). So I don't know which release got this breaking change, either 0.5.13 or 0.5.14
I could not see any required changes I need to make to configuration in any of changelogs + all guides remain the same, so I guess this is a bug?..
If it's not enough for reproduction, I could probably configure a similar minimal dockerfile to cause prod build to fail