-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Nx 17: Lerna packages dir cannot be used for generator dir #19795
Comments
Hi there @jerkovicl ! Thanks for filing an issue! Unfortunately I could not reproduce. Here's my output:
Can you please provide a simple reproduction repository and the exact command that failed for you? |
@mandarini i run the same command as you if i change |
@mandarini i have sent you a zip with repro on discord |
@jerkovicl I cannot install the dependencies correctly there, can you please create a github repo instead? sorry about that :( |
@mandarini hmm, sure but no need to installed them, just execute the generate lib command you will see. You can also just remove private libs from package.json and install will pass through. |
@jerkovicl I need to install them, because if I don't install the dependencies I will not be able to run the command.. :/ |
@mandarini ok i understand, i thought you will run the command with npx as you did before |
Here's the actual issue: https://github.com/mandarini/nx-lerna-17-bug tl;dr: When you have This is a regression on Nx 17, it works on previous versions (eg. Nx 16.10) |
Thanks for the clear report @jerkovicl - we've diagnosed the issue on the nx core side and a fix will go up later today. Please be aware that if you are using Nx 17 with lerna, you will still be pulling in nx 16 as well (because that's what lerna 7 depends on). If you're not seeing any issues then that's great, but something to be aware of. We will be releasing lerna v8 soon which will depend on nx 17, it should be an easy migration |
@JamesHenry that's good news! |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
After upgrade to nx v17.0.1 angular library generator works with 'derived' option and not with 'as-provided' option, everything worked on v16.10
Expected Behavior
I want to generate angular library with 'as-provided' option
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: