Closed MarcusElevait closed 9 months ago
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. If we missed this issue please reply to keep it active. Thanks for being a part of the Nx community! 🙏
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 running the command
nx run-many --target=serve --projects=tag:backend
, it crashes while building the apps. The apps depend on some buildable libraries we have in our project. The log shows then something like this:The library that is stated under the Failed tasks section is not always the same.
When i serve the apps sequentially it works fine. Building the apps in parallel works fine. So the workaround for now is to run this command before the serve command:
nx run-many --target=build --projects=tag:backend
Because then the cache is used when serving the apps.
Here is the project.json of one of the apps:
Expected Behavior
I would expect, that serving multiple apps in parallel, that depend on the same buildable libraries, will not fail.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Operating System
Additional Information
No response