Skip to content

"yarn remove" inside workspace fails #4334

@jgoz

Description

@jgoz

Do you want to request a feature or report a bug? Bug

What is the current behavior?

Attempting to remove a package from inside a workspace fails with:

error No lockfile in this directory. Run `yarn install` to generate one

If the current behavior is a bug, please provide the steps to reproduce.

$ cd packages/some-package
$ yarn remove some-dependency
yarn remove v1.0.1
error No lockfile in this directory. Run `yarn install` to generate one

What is the expected behavior?

The package should be removed and the root lockfile should be updated.

Please mention your node.js, yarn and operating system version.

Node 8.4.0
Yarn 1.0.1
Mac OS 10.12

Possibly related to #4328.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions