-
Notifications
You must be signed in to change notification settings - Fork 39
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
Upgrading to 0.9.0 is throwing an error #171
Comments
Hmm. Any chance you can share a reproduction? |
Not too minimal, but here you go: https://github.com/jasikpark/astro-embed-repro-171 |
Ok, so this is weird, but are you using If you are using Zod yourself directly, you could try replacing those imports to use Astro’s re-export from the |
I was using it in Layout.astro, but replacing the imports like you said works. This is very strange, but honestly I'm not motivated to discover why things are broken. Thanks for helping me figure it out! |
I just ran into the same error after days of trying to find where this error was coming from. Eventually nailed it down to this package too. I fixed it by changing my import to Not sure if this is helpful at all to you, but I thought it would at least be good to know that there's multiple occurrences of this issue, and that it's very hard to track down 😅 |
Thanks for sharing! Did you also by any chance have Zod as a package dependency? |
Sorry, forgot to mention this. Yes I did! Was using it in one occurrence, but nothing related to the tweet package. |
Thanks! Super weird. We’re not actually using Zod directly in this library, but it is a dependency of the |
Upgrading to 0.9.0 for bluesky post support is throwing an error on build. Strangely not when in dev mode though. At first I thought it was b/c I hadn't enabled content layers, but that didn't seem to fix anything.
The text was updated successfully, but these errors were encountered: