Open quadratz opened 2 weeks ago
I think I ran into the same issue. In your case astro
is not actually run by Deno. It is specific to Node that the .bin
directory of the node_modules
gets added to the path inside npm run
scripts.
With Deno, you need to type out deno -A npm:astro
if you want to run the package that you installed. Otherwise, it will run the globally installed CLI astro
. (Edit: I am actually not entirely sure if this is correct.)
I’m not sure if this is the right repo for this issue, so my apologies if it’s actually related to the
Astro
orvitefu
package instead of Deno. Please let me know, and I’ll open the issue in the correct repository. Thank you.Folder structure:
deno.json:
Cmd:
Output:
Version: deno 2.0.5+73fbd61 (canary, release, x86_64-unknown-linux-gnu) v8 12.9.202.13-rusty typescript 5.6.2