You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running most yarn commands in a directory with a package.json that defines workspaces will fail with error The workspace feature is currently experimental and needs to be manually enabled - please add "workspaces-experimental true" to your .yarnrc file..
This is fine! But when this happens, you may want to enable workspaces using yarn config set workspaces-experimental true, however this command (and many others) fails with the same error.
My use case here is a Docker container which builds my application. I need to be succinct as possible with my RUN commands, and it makes sense to be able to enable the feature it needs right before performing the various build tasks.
Current workaround is yarn --cwd / config set workspaces-experimental true
If the current behavior is a bug, please provide the steps to reproduce.
Disable workspaces: yarn config set workspaces-experimental false
cd into any project which has a package.json that defines some workspaces
try various yarn commands, eg yarn --help, yarn config list, and the most salient one yarn config set workspaces-experimental true
What is the expected behavior?
Primarily, yarn config should work so that workspaces can be enabled in that way, but other yarn commands should work as well.
Please mention your node.js, yarn and operating system version.
Ubuntu 16.04
node 8.15.0
yarn 1.13.0
Thanks yall :D
The text was updated successfully, but these errors were encountered:
rDr4g0n
changed the title
yarn config cannot be used to enable experimental-workspaces inside of a project which defines workspaces.yarn config cannot be used to enable workspaces-experimental inside of a project which defines workspaces.
Mar 7, 2019
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running most yarn commands in a directory with a
package.json
that definesworkspaces
will fail witherror The workspace feature is currently experimental and needs to be manually enabled - please add "workspaces-experimental true" to your .yarnrc file.
.This is fine! But when this happens, you may want to enable workspaces using
yarn config set workspaces-experimental true
, however this command (and many others) fails with the same error.My use case here is a Docker container which builds my application. I need to be succinct as possible with my
RUN
commands, and it makes sense to be able to enable the feature it needs right before performing the various build tasks.Current workaround is
yarn --cwd / config set workspaces-experimental true
If the current behavior is a bug, please provide the steps to reproduce.
yarn config set workspaces-experimental false
package.json
that defines someworkspaces
yarn --help
,yarn config list
, and the most salient oneyarn config set workspaces-experimental true
What is the expected behavior?
Primarily,
yarn config
should work so that workspaces can be enabled in that way, but otheryarn
commands should work as well.Please mention your node.js, yarn and operating system version.
Ubuntu 16.04
node 8.15.0
yarn 1.13.0
Thanks yall :D
The text was updated successfully, but these errors were encountered: