Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Vite 6.0.7 project is not working with Yarn #19162

Closed
7 tasks done
KDTenshi opened this issue Jan 8, 2025 · 0 comments
Closed
7 tasks done

Vite 6.0.7 project is not working with Yarn #19162

KDTenshi opened this issue Jan 8, 2025 · 0 comments

Comments

@KDTenshi
Copy link

KDTenshi commented Jan 8, 2025

Describe the bug

I have started a new react project and created it with "yarn create vite" command and when i tried to launch it with "yarn dev" i've been getting "vite is not recognized..." error. Tried to create project using npm and it was launching completely fine. All my other projects that used older version of vite were launching fine too and when i've downgraded from 6.0.7 to 6.0.5 the problem disappeared.

Reproduction

yarn create vite .

Steps to reproduce

Run "yarn create vite .", chose "React" and "Typescript", run "yarn dev"

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
    Memory: 6.91 GB / 15.78 GB
  Binaries:
    Node: 20.13.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.6.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355

Used Package Manager

yarn

Logs

No response

Validations

@vitejs vitejs locked and limited conversation to collaborators Jan 9, 2025
@sapphi-red sapphi-red converted this issue into discussion #19166 Jan 9, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

1 participant