> deno run -A npm:create-vite@latest --template react-ts
✔ Project name: … test-project
Scaffolding project in /Users/***/***/***/test-project...
Done. Now run:
cd test-project
npm install
npm run dev
> cd test-project/
> deno install
error: npm package '@rollup/rollup-freebsd-arm64' does not exist.
> deno task dev
Task dev vite
vite: command not found
> deno --version
deno 2.0.3 (stable, release, aarch64-apple-darwin)
v8 12.9.202.13-rusty
typescript 5.6.2
I am running it on macOS 14.7 (23H124) Darwin 23.6.0 arm64
It depends on rollup-linux-x64-gnu add it as an optional Dependency it should resolve the problem
Append this to the package.json
"optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "4.6.1" }
File:
runtime/tutorials/how_to_with_npm/react.md
I am running it on
macOS 14.7 (23H124) Darwin 23.6.0 arm64