Skip to content

Incompatibility with yarn2 due to undeclared dependency on webpack #1844

Closed
@EthanZeigler

Description

@EthanZeigler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions