Using create vite-app uninstalled yarn
See original GitHub issueDescribe the bug
Using create vite-app uninstalled yarn
Reproduction
I followed exactly the instructions on the readme, choosing the yarn version because I have yarn on the system and use yarn every day at work:
$ yarn create vite-app <project-name>
$ cd <project-name>
$ yarn
> zsh: command not found: yarn
I have no reproduction since I didn’t actually use Vite.
This makes literally no sense, but i use yarn everyday and suddenly it’s gone and i used it to run create vite-app, so i can only assume that it was something in there that removed it.
System Info
- required
vite
version: ^1.0.0-beta.3 - required Operating System: MacOS 10.15.5 (19F101)
- required Node version: 10.16.3
- Optional:
- npm/yarn version: i don’t know anymore. I think it was 1.*
- Installed
vue
version: ^3.0.0-beta.15 - Installed
@vue/compiler-sfc
version
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How Do I Uninstall Yarn - node.js - Stack Overflow
Go to add or remove programs and then search for yarn and uninstall it(if you installed it with the . · npm uninstall...
Read more >How to uninstall Yarn | Edureka Community
I had installed Yarn for some demo. Now I am trying to run a react project using npm but by default, it ......
Read more >Getting Started - Vite
A build command that bundles your code with Rollup, pre-configured to output ... yarn yarn create vite my-vue-app --template vue # pnpm pnpm...
Read more >create-vite - npm
Scaffolding Your First Vite Project. Latest version: 4.0.0, last published: 16 days ago. Start using create-vite in your project by running ...
Read more >How to Install and Use Vite in Your Web Projects
Vite uses native browser ES imports to enable support for modern ... To create a Vite application, open your terminal and navigate to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could be an issue in
yarn create
specifically, since it implicitly runs a global install. Pretty sure it’s not induced by Vite specifically…I agree this makes no sense but this same thing happened to me a couple of weeks ago. I thought it was some kinda fluke with my setup. I re-installed yarn and I don’t believe it happened again.
My guess is maybe it was a yarn bug w/ a specific version.