Instructions for Deno + vite is broken
Instructions here as of oct-19-24 is broken https://docs.deno.com/runtime/tutorials/how_to_with_npm/vue/
- first i ran this
deno run -A npm:create-vite - then i ran this
deno task devand it failed here
i needed to update to the latest deno
Aye, theres more than one issue here.
-
This tutorial will not resolve the imports if deno is not updated to 2.0.2 due to the bug. If
deno --versionis2.0.0you'll need todeno upgrade -
Not sure why - but the
deno task devwill not work unless youcd [directory-just-created-by-create-vite]deno installcd ..nowdeno task devruns 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
deno run -A npm:create-vite
deno install
error: npm package '@rollup/rollup-freebsd-arm64' does not exist.
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.