deno icon indicating copy to clipboard operation
deno copied to clipboard

Instructions for Deno + vite is broken

Open patchthecode opened this issue 1 year ago • 4 comments

Instructions here as of oct-19-24 is broken https://docs.deno.com/runtime/tutorials/how_to_with_npm/vue/

  1. first i ran this deno run -A npm:create-vite
  2. then i ran this deno task dev and it failed here

patchthecode avatar Oct 19 '24 16:10 patchthecode

i needed to update to the latest deno

patchthecode avatar Oct 19 '24 18:10 patchthecode

Aye, theres more than one issue here.

  1. This tutorial will not resolve the imports if deno is not updated to 2.0.2 due to the bug. If deno --version is 2.0.0 you'll need to deno upgrade

  2. Not sure why - but the deno task dev will not work unless you cd [directory-just-created-by-create-vite] deno install cd .. now deno task dev runs the dev vite instance as expected.

Not sure if this is an npm interaction users are meant to already know about or if its just a missing step from the tutorial

sc0paf avatar Oct 19 '24 18:10 sc0paf

deno run -A npm:create-vite
deno install
error: npm package '@rollup/rollup-freebsd-arm64' does not exist.

aquinary avatar Oct 27 '24 11:10 aquinary

deno run -A npm:create-vite
deno install
error: npm package '@rollup/rollup-freebsd-arm64' does not exist.

I am getting the same thing.

https://github.com/rollup/rollup/issues/5704

It seems to be an issue outside of deno.

wyatt-herkamp avatar Oct 27 '24 14:10 wyatt-herkamp