-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
needs reproductionThis issue is missing a minimal runnable reproduction, provided by the authorThis issue is missing a minimal runnable reproduction, provided by the author
Description
Version
3.0.4
Node and OS info
Node v10.11.0, Yarn 1.9.4
Steps to reproduce
In an existing project using the package.json field vuePlugins with a Yarn workspace like so...
"vuePlugins": {
"resolveFrom": "someWorkspace"
}
Run the command
vue add @vue/typescript
What is expected?
That the vue plugin is installed and the generator is invoked.
What is actually happening?
This error
📦 Installing @vue/cli-plugin-typescript...
yarn add v1.9.4
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
ERROR command failed: yarn add -D @vue/cli-plugin-typescript
It should be noted that I also get similar errors when manually installing the required dependancies for the Vue-CLI plugin but when using a Yarn Workspace the vue invoke command also fails.
MatthewHallCom
Metadata
Metadata
Assignees
Labels
needs reproductionThis issue is missing a minimal runnable reproduction, provided by the authorThis issue is missing a minimal runnable reproduction, provided by the author