[🐛 Bug]: Installing dependencies via Yarn fails when using Yarn workspaces #8144
Closed
3 tasks done
Labels
Bug 🐛
good first pick
a reasonable task to start getting familiar with the code base
help wanted
Issues that are free to take by anyone interested
Have you read the Contributing Guidelines on issues?
WebdriverIO Version
latest
Node.js Version
latest
Mode
WDIO Testrunner
Which capabilities are you using?
What happened?
When creating a project from scratch in an existing project that uses Yarn workspaces the
wdio config
command fails installing the dependencies because of a missing-W
, e.g.:What is your expected behavior?
We should check within the
package.json
if workspaces are being used and either add a-W
to the install statement or ask the user whether to add it to one of the sub-packages.How to reproduce the bug.
Create a project that uses Yarn workspaces and try to run the WDIO wizard on it.
Relevant log output
Code of Conduct
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: