-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
fixed-in-modernThis issue has been fixed / implemented in Yarn 2+.This issue has been fixed / implemented in Yarn 2+.
Description
Bug description
Using latest version (1.22.10) and workspaces, when typing yarn add package in any workspace, it throws the following error:
error An unexpected error occurred: "expected workspace package to exist for \"eslint\"".Setting yarn policies to 1.19.0 solved the problem.
Command
yarn policies set-version 1.19.0Environment
- Yarn version: 1.22.10 (now 1.19.0)
- Node version: 12.18.4
- Platform: linux x64
ganobrega, lengfangbing, gablabelle, hota911, yulolimum and 91 moretilwinjoy, GuyPie, lewisgibson, MannySchneck, YassinEldeeb and 2 moregoliveros, baublet, flaviotentaculo, lpj145, Glavin001 and 21 morejames-julius, ianpogi5, Gilad-Gur-Andelman, Glavin001, nerder and 8 morenwoltman, tacyarg, Yuripetusko, ineffyble, lpj145 and 7 more
Metadata
Metadata
Assignees
Labels
fixed-in-modernThis issue has been fixed / implemented in Yarn 2+.This issue has been fixed / implemented in Yarn 2+.