-
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
Does not build buildable libs with rollup correctly #18946
Comments
Switching await from @nx/rollup to vite seems to be a workaround, and probably for the better. |
@KamalAman I was experiencing similar issues, using vite for |
I guess so, hopefully nx starts prioritizing this issue. I have no idea why they switched the updateBuildableProjectDepsInPackageJson flag for that eslint rule. I think these issues are all related to that switch. |
@rluvaton and anyone else, is it possible that your related: #11289 For anyone having that error, solution: #17798 (comment) |
Checked and it's not the case, you can see in the reproduction |
So I checked it and I found that this problem happened when moving Found the bad commit: 661efa9 |
Just wanted to update this thread, I migrated and upgraded to |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
The issue still happening on the latest version |
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
When I run
nx run lib2:build
I get the following error:Expected Behavior
to not have errors at all
GitHub Repo
Repro
Steps to Reproduce
nx run
nx run lib2:build
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
if you look at the
dist
folder, the lib1 package json shows this:while the folder content is this (
main
andtypes
does not point to the right file):The text was updated successfully, but these errors were encountered: