Closed bryanw6d closed 2 months ago
We've had the same issue today. And the suggested workaround, by changing nx-cloud version in package.json, worked for us.
Thanks, @bryanw6d
Hi @bryanw6d and @SergioMacGyver
You should be OK to re-upgrade to nx-cloud@latest. We released an OTA update that exposed a previously unknown issue with a few Nx OSS versions. Apologies for the inconvenience.
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
I suspect that NX Cloud is preventing my angular application's dev server from starting and running properly. This began yesterday. I resolved it once with yarn cache clean and reinstalling deps, but it has restarted again today and the previously mentioned fix is no longer worker. When running
yarn start --verbose
I get the following logs:As you can see the command immediately exits. However the odd part is that on windows this terminates the session entirely, and the server does not start, but on macOS, the server starts in a background process and runs as expected, but I have to manually kill the process in order to stop it as the
yarn start
command exits.Expected Behavior
The server starts and process persists in the foreground.
GitHub Repo
No response
Steps to Reproduce
latest
yarn start
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
CURRENT FIX: while this issue is present, the version of nx-cloud set in package.json is
latest
. However, by changing this version to 15.1.1 and reinstalling deps, this resolves the issue and the server starts and runs as expected. So it seems that the latest version of nx-cloud (19.0.0) is the culprit here, but since this is 17 days since publishing the latest version at the time of writing, I'm still perplexed as to why this just started yesterday.