-
Notifications
You must be signed in to change notification settings - Fork 3
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
I get this error while migrating to v2 (void 0) is not a function #335
Comments
THe vite plugin that you can import from the Paraglide JS 2.0 beta is not dependent on git anymore. Are you using the vite plugin from the Paraglide JS 2.0 beta? import { paraglideVitePlugin } from "@inlang/paraglide-js" To resolve this issue
|
@samuelstroschein I can create a new repo should I share it here ? I removed all paraglide config and made the |
Yes a github repo would be great. |
@samuelstroschein reproduction for you: https://github.com/oskar-gmerek/paraglide-v2-repro |
Thanks for the reproduction. It seems like bun is tree-shaking messages incorrectly in the docker setup. Without the docker setup, bun works as expected. I am going to leave this issue open but won't fix it myself because:
CleanShot.2025-01-31.at.14.35.31-converted-converted.mp4 |
Hello guys, thank you for maintaining this package.
I'm currently trying to migrate to version 2 I changed methods names as mentioned at the docs but I get this error on production but it works when I run in production mode locally
I'm guessing that my code can't access strings functions properly, any help dealing with this?
I don't use the vite plugin to compile the strings as it fails at the build looking for some
.git/
folder. alternatively I use this cli command alongside my build scriptbunx @inlang/paraglide-js compile --project ./project.inlang --outdir ./src/paraglide
this is my docker file
The text was updated successfully, but these errors were encountered: