question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using create vite-app uninstalled yarn

See original GitHub issue

Describe 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:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
yyx990803commented, Jun 29, 2020

Could be an issue in yarn create specifically, since it implicitly runs a global install. Pretty sure it’s not induced by Vite specifically…

1reaction
thecrypticacecommented, Jun 29, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found