Skip to content

Incompatibility with yarn2 due to undeclared dependency on webpack #1844

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

Closed
EthanZeigler opened this issue Jun 29, 2021 · 1 comment
Closed

Comments

@EthanZeigler
Copy link

EthanZeigler commented Jun 29, 2021

Version

16.1.2

Reproduction link

https://gitlab.com/ethanzeigler/vue-loader-yarn2-incompatibility-example

Steps to reproduce

Project setup

# Ensure you're using yarn2 (berry)
yarn set version berry
yarn install

Error reproduction

yarn serve

What is expected?

clean vue-cli created project (vue3) serves properly when migrating to yarn2

What is actually happening?

clean vue-cli created project (vue3) errors on serve due to undeclared dependency in vue-loader


Was migrating an existing project to yarn2 for the first-class workspace support. After migrating, vue-loader would error when attempting to run the devserver. Tried reproducing with a fresh build and was successful in doing so, sadly.

@haoqunjiang
Copy link
Member

Fixed in v16.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants