skypackjs / skypack-cdn

An issue tracker for the CDN
107 stars 5 forks source link

[Package Error] "[Package Error] 'zod@v3.19.1' could not be built #321

Open callumgare opened 2 years ago

callumgare commented 2 years ago

The zod package appears to be broken using skypack. This can be observed by going to https://www.skypack.dev/view/zod and clicking "Open in CodePen". The CodePen console show this:

"[Package Error] 'zod@v3.19.1' could not be built. 
[1/5] Verifying package is valid…
[2/5] Installing dependencies from npm…
[3/5] Building package using esinstall…
Running esinstall...
Cannot find module 'zod/locales/en.d.ts'"
bombillazo commented 1 year ago

Hey, any solution to this issue? We are getting this as well in our deno functions.

disintegrator commented 1 month ago

Fix for this issue is here: https://github.com/colinhacks/zod/pull/3700