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
## Proposed change
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that is required for this change. -->
## Related issues
- 🐛 Fixes#1189
## Explanation
In `@o3r/workspace` ng-add script, `addWorkspacesToProject` is adding
the `workspaces` field to the root `package.json`.
We should execute this step last, after adding all other dependencies,
otherwise yarn gets confused and doesn't know where to add the
dependencies (to the root or to a workspace).
Work left to do : We recommand to use npm create, add "yarn create" limitation in the doc as known issues (there is only one .bin/create script on global and when multiple create packages the latest installed will be kept for create comamnd). Merge the PR #1230.
Package name
core, create, schematics, workspace
Package version
10.0.0
Reproduction steps
Execute the command
yarn create @o3r my-app
with yarn version 1.22.0Current result
Error of requesting
-w
for package installed at workspace level.Expected result
yarn create @o3r
should work withyarn 1.*
#1226yarn 1.*
#1227@o3r/create
should be tested #1228Additional comments
No response
The text was updated successfully, but these errors were encountered: