IssueRaiser

Failed to install dependencies in workspace: expected workspace package to exist

<!-- *Before creating an issue please make sure you are using the latest version of yarn.* --> **Do you want to request a *feature* or report a *bug*?** Bug **What is the current behavior?** `yarn install` fails with: ``` error An unexpected error occurred: "expected workspace package to exist for \"@babel/template\"". ``` The error started occurring after upgrading yarn to `1.19` and it still persists in latest stable version `1.21.1` Similar errors can be observed in #7797 and #7734 **If the current behavior is a bug, please provide the steps to reproduce.** The error can be reproduced when installing dependencies in https://github.com/callstack/haul 1. `git clone git@github.com:callstack/haul.git` 2. `cd haul` 3. `yarn install` **What is the expected behavior?** `yarn install` should successfully install dependencies. **Please mention your node.js, yarn and operating system version.** - Node: `12.14.1` / `13` (reproducible on both) - yarn: `1.21.1` - OS: macOS 10.15.2

Posted by zamotany on Jan 8, 2020, 3:35 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

onboarding (Software)

Failed to install dependencies in workspace: expected workspace package to exist

zamotanyJan 8, 2020, 3:35 PM

<!-- *Before creating an issue please make sure you are using the latest version of yarn.* --> **Do you want to request a *feature* or report a *bug*?** Bug **What is the current behavior?** `yarn install` fails with: ``` error An unexpected error occurred: "expected workspace package to exist for \"@babel/template\"". ``` The error started occurring after upgrading yarn to `1.19` and it still persists in latest stable version `1.21.1` Similar errors can be observed in #7797 and #7734 **If the current behavior is a bug, please provide the steps to reproduce.** The error can be reproduced when installing dependencies in https://github.com/callstack/haul 1. `git clone git@github.com:callstack/haul.git` 2. `cd haul` 3. `yarn install` **What is the expected behavior?** `yarn install` should successfully install dependencies. **Please mention your node.js, yarn and operating system version.** - Node: `12.14.1` / `13` (reproducible on both) - yarn: `1.21.1` - OS: macOS 10.15.2

Comments (0)

No comments yet. Start the discussion.

Comment on this issue