-
Notifications
You must be signed in to change notification settings - Fork 12k
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
[pnpm] Angular cli cannot build angular 19 project in pnpm monorepo with both angular version 18 and 19 #29504
Comments
…pendency versions This update replaces the resolution of peer dependency versions with the use of the Bazel stamp for improved consistency and reliability. Closes angular#29504
…pendency versions This update replaces the resolution of peer dependency versions with the use of the Bazel stamp for improved consistency and reliability. Closes angular#29504
Whooo that's like the fastest fix ever 😆 !!! |
This will be available in 19.2.0-next.1 which should be released tomorrow on NPM. |
FYI I made a test changing Thanks a lot for your quick fix 🙏 (And thanks to all the team for your amazing work on angular !) |
@DrGrognon glad to hear that the change resolved your issue. 😀 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Command
build, test
Is this a regression?
The previous version in which this bug was not present was
18
Description
Before angular 19 it was possible to have multiple versions of angular each one using it's version of angular-cli in a typical pnpm monorepo.
This was really convenient for migration project-by-project.
It's not working anymore, with a v18 and v19 mix. As any build/test command on angular project will issue the following error.
Minimal Reproduction
I got a minimal reproducible example with a really simple pnpm monorepo initiated from scratch. (https://github.com/DrGrognon/angular-pnpm-monorepo-v18-and-19)
Can be redone easily:
pnpm init
add angular projects with:
then create a
pnpm-workspace.yaml
file with projects:Then reproduce with:
pnpm install cd ng-19 pnpm run build
Exception or Error
Your Environment
Anything else relevant?
I tested the exact same configuration with 17/18 and 17/19 and everything was working fine.
It look like a strange 18/19 interaction 🤔
This issue is a continuation of angular/angular#58832 (closed for inactivity)
I encounter the exact same problem so i open another issue .
Please let me know if there is another process in this situation.
kudos to angular team, you do awesome work 💓
The text was updated successfully, but these errors were encountered: