You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
This discussion was converted from issue #19162 on January 09, 2025 04:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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
Used Package Manager
yarn
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions