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

Quasar Upgrade error in Yarn 2 #8245

Closed
Nisgrak opened this issue Dec 21, 2020 · 4 comments
Closed

Quasar Upgrade error in Yarn 2 #8245

Nisgrak opened this issue Dec 21, 2020 · 4 comments

Comments

@Nisgrak
Copy link

Nisgrak commented Dec 21, 2020

Describe the bug
Execute quasar upgrade with Yarn 2 fails, even with node_modules plugin

To Reproduce
Steps to reproduce the behavior:

  1. Create a new project with yarn 2
  2. Execute quasar upgrade

Expected behavior
The regular flow

Screenshots
image

Platform (please complete the following information):
OS:
Node:
NPM:
Yarn:
Browsers:
iOS:
Android:
Electron:

Additional context
It's wsl, not Linux
image

@Nisgrak
Copy link
Author

Nisgrak commented Dec 21, 2020

Looks like it's have been renamed, to yarn info to yarn npm info

https://yarnpkg.com/getting-started/migration#renamed

@Nisgrak
Copy link
Author

Nisgrak commented Dec 21, 2020

And it's return something like this.
Yarn Npm Info Quasar App.txt

Maybe this line should be change to versions.versions in yarn 2

if (packager === 'yarn') {
versions = versions.data
}

@pdanpdan
Copy link
Collaborator

cross ref:
#8245
#8286
#7581

@rstoenescu
Copy link
Member

Please use Yarn v1 for the moment.
The v2 of Yarn has some hard requirements that forces us to not be able to provide a good developer experience.

We have plans to create a CLI based on Vite instead of Webpack and that will allow us to officially support Yarn 2.
Leaving #7581 opened for tracking this.

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