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

Zod ext error #174

Closed
hwcwy opened this issue Feb 11, 2024 · 5 comments
Closed

Zod ext error #174

hwcwy opened this issue Feb 11, 2024 · 5 comments

Comments

@hwcwy
Copy link

hwcwy commented Feb 11, 2024

Deno 1.40.4
image

@hwcwy
Copy link
Author

hwcwy commented Feb 11, 2024

I found that this problem also occurs when I use "npm:zod"

image

@oliver-oloughlin
Copy link
Owner

oliver-oloughlin commented Feb 11, 2024

For me when I tried this I only got the issue when importing zod from deno.land/x, not when using npm:zod. I'm also on Deno 1.40.4. I think this is very likely due to the Deno extension/lsp not being updated for jsr imports yet. One of the maintainers mentioned in the Discord that it would take them a few days to get it working.

Edit:
When this is merged it should hopefully fix this issue: denoland/deno#22382

@hwcwy
Copy link
Author

hwcwy commented Feb 12, 2024

Thank you for answering my question. I will close this issue when the problem is solved😊

@hironichu
Copy link

I can confirm it seems to be fixed using the npm:zod package with latest deno update ;)

@hwcwy
Copy link
Author

hwcwy commented Feb 16, 2024

Yes, this issue can now be fixed using npm:zod 👌

@hwcwy hwcwy closed this as completed Feb 16, 2024
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

3 participants