-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: o3r create + ng g app #2593
Comments
Hi, To make sure to reproduce correctly the bug can you confirm you run exactly the following command (mainly regarding the way to run npm create @o3r myotterproject
# select default values to both questions
cd ./myotterapp
npm exec ng g application myotterapp
# select default values to questions I also wonder if it is not fixed by the PR #2569 which enforce |
The issue happens after a time period. You have to generate your monorepo. Currently it will generate a new application and run (behind the scene) When generating an application, I would expect it to be generated with the current value of the mono-repo. |
The behavior described does not seem correct. Regarding the log, the issue reported here seems to be more relative to the package |
Package name
workspace
Package version
11.4.2
Reproduction steps
Current result
UPDATE apps/myotterapp/package.json (1120 bytes)
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @o3r/[email protected]
npm error node_modules/@o3r/core
npm error @o3r/core@"~11.4.2" from the root project
npm error peer @o3r/core@"^11.4.2" from @o3r/[email protected]
npm error node_modules/@o3r/application
npm error @o3r/application@"~11.4.2" from the root project
npm error @o3r/application@"~11.4.2" from [email protected]
npm error apps/myotterapp
npm error [email protected]
npm error node_modules/myotterapp
npm error workspace apps\myotterapp from the root project
npm error 1 more (myotterapp)
npm error
npm error Could not resolve dependency:
npm error peer @o3r/core@"^11.5.2" from @o3r/[email protected]
npm error node_modules/@o3r/logger
npm error peer @o3r/logger@"^11.4.2" from @o3r/[email protected]
npm error node_modules/@o3r/application
npm error @o3r/application@"~11.4.2" from the root project
Expected result
the generator of the app to work and the versions installed for o3r packages to match the existing o3r versions on the monorepo (not a new version if this has been released in the meantime)
Additional comments
No response
The text was updated successfully, but these errors were encountered: