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
[Angular] Migration to Nx v.12.6 is not finding the libs dependencies anymore #6648
Comments
Thanks for raising this! I'll add a migration that will recalculate invalid importPaths |
Any news about this issue? This is blocking my company app from update. Thanks! |
Hi @gerardcastell However, in the meantime, you can manually fix it by changing the The |
Thank you so much! We really appreciate your efforts! We will stay tuned |
Hello again! Is this fix included on NX 12.8? @Coly010 |
@gerardcastell No, I'll update here when it's complete :) |
Fixes broken importPaths and package.json names due to incorrect logic that has already been fixed ISSUES CLOSED: nrwl#6648
Fixes broken importPaths and package.json names due to incorrect logic that has already been fixed ISSUES CLOSED: #6648
@gerardcastell This should be included as a migration in Nx 12.9.0 |
Fixes broken importPaths and package.json names due to incorrect logic that has already been fixed ISSUES CLOSED: nrwl#6648
@gerardcastell 12.9.0 is released and this migration should be included. Can you try it out and let me know if it works for you |
Hi! thanks for the job! It seems like it has solved the problem but now some other libraries have different issues, for instance, when building an Ui lib that was created before a year ago with the proper nx version, it displays the following error: The new UI libs created with Nx.12 are also raising up this problem so it seems like something is missing in the migration. |
Fixes broken importPaths and package.json names due to incorrect logic that has already been fixed ISSUES CLOSED: nrwl#6648
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. |
I have taken a glance at your update on #6443, but, unfortunately it is NOT working neither if I run the migration to the latest version (Nx. 12.6). The error keeps the same.
Steps to reproduce:
Environemnt:
Node : 12.22.1
OS : darwin x64
npm : 6.14.12
nx : Not Found
@nrwl/angular : 12.5.8
@nrwl/cli : 12.5.8
@nrwl/cypress : 12.5.8
@nrwl/devkit : 12.5.8
@nrwl/eslint-plugin-nx : 12.5.8
@nrwl/express : Not Found
@nrwl/jest : 12.5.8
@nrwl/linter : 12.5.8
@nrwl/nest : 12.5.8
@nrwl/next : Not Found
@nrwl/node : 12.5.8
@nrwl/nx-cloud : 12.2.7
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 12.5.8
@nrwl/web : Not Found
@nrwl/workspace : 12.5.8
@nrwl/storybook : 12.5.8
@nrwl/gatsby : Not Found
typescript : 4.2.4
The error displayed on the console is the same one:
The resulting environment properties now are:
Node : 12.22.1
OS : darwin x64
npm : 6.14.12
nx : Not Found
@nrwl/angular : 12.6.2
@nrwl/cli : 12.6.2
@nrwl/cypress : 12.6.2
@nrwl/devkit : 12.6.2
@nrwl/eslint-plugin-nx : 12.6.2
@nrwl/express : Not Found
@nrwl/jest : 12.6.2
@nrwl/linter : 12.6.2
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : Not Found
@nrwl/nx-cloud : Not Found
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 12.6.2
@nrwl/web : Not Found
@nrwl/workspace : 12.6.2
@nrwl/storybook : 12.6.2
@nrwl/gatsby : Not Found
typescript : 4.3.5
What I realised is that if I create a new repository with the command "npx create-nx-workspace@latest" and then perform the steps explained at #6443 the error is fixed and the dependencies are well defined, so I think that the error here is solved for new projects but not for already existing ones that needs the migration step to get the Nx 12.6.0.
Could you please check my case and consider reopen this issue?
Thank you in advance!
The text was updated successfully, but these errors were encountered: