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

Newly created react typescript project doesn't work on any computer even at "Try Vite Online" section #18934

Closed
7 tasks done
Bugrabugra opened this issue Dec 10, 2024 · 2 comments

Comments

@Bugrabugra
Copy link

Describe the bug

it gives this error on every computer I have tried. Even on the https://vite.dev/guide/#trying-vite-online

[plugin:vite:react-babel] [BABEL] /home/projects/vitejs-vite-wss1bnyb/src/main.tsx: Cannot find module '/home/projects/vitejs-vite-wss1bnyb/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js'

Reproduction

https://stackblitz.com/edit/vitejs-vite-wss1bnyb?file=index.html&terminal=dev

Steps to reproduce

nvm use 22
npm create vite@latest
choose react + ts
npm i
npm run dev

System Info

System:
    OS: macOS 15.1.1
    CPU: (8) arm64 Apple M2
    Memory: 123.91 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node
    npm: 10.9.0 - ~/.nvm/versions/node/v22.12.0/bin/npm
    bun: 1.0.1 - ~/.bun/bin/bun
  Browsers:
    Chrome: 131.0.6778.109
    Safari: 18.1.1

Used Package Manager

npm

Logs

No response

Validations

@Bugrabugra
Copy link
Author

Sorry, in my country Discord is banned so I couldn't reach Discord community. I think there is a big conflict issue right now with babel.

@sunrabbit123
Copy link

jridgewell/sourcemaps#3

duplicated issue

@patak-dev patak-dev closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants