Following the instructions here trying to get Astro working with Deno 2, the deno install command functions correctly but deno task build fails due to the error in the title.
[ERR_MODULE_NOT_FOUND] Cannot find module 'file:///project//node_modules/.deno/zod-to-json-schema@3.23.4/node_modules/zod-to-json-schema/dist/esm/parsers/branded' imported from 'file:///project//node_modules/.deno/zod-to-json-schema@3.23.4/node_modules/zod-to-json-schema/dist/esm/parsers/record.js'
Stack trace:
at async runCommand (file:///project//node_modules/.deno/astro@4.16.7/node_modules/astro/dist/cli/index.js:137:23)
Finally, you can use Deno 2 with your favorite JavaScript framework. Deno 2 supports Next.js, --> Astro <--, Remix, Angular, SvelteKit, QwikCity and many other frameworks.
So, in what context does this work or what steps do I need to take to make it work?
Following the instructions here trying to get Astro working with Deno 2, the
deno install
command functions correctly butdeno task build
fails due to the error in the title.This is interesting as https://deno.com/blog/v2.0 says:
So, in what context does this work or what steps do I need to take to make it work?