Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The steps described in Build a React App don't work #1081

Open
gaurav-nelson opened this issue Oct 27, 2024 · 1 comment
Open

The steps described in Build a React App don't work #1081

gaurav-nelson opened this issue Oct 27, 2024 · 1 comment

Comments

@gaurav-nelson
Copy link

gaurav-nelson commented Oct 27, 2024

File: runtime/tutorials/how_to_with_npm/react.md

> 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

@ismail0ka
Copy link

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" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants