You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have an nxCloudAccessToken in my nx.json file, I am unable to stop nx serve and nx build commands using CTRL-C in a terminal. This happens both in VS Code, and in the default OSX Terminal app. It has been working fine in the past. As far as I can recall, it worked fine last week.
If I remove "nxCloudAccessToken": "XXXXX" from nx.json, things work as expected, and I am able to stop my serve command.
It seems that if nx tries to use the distributed cache, the terminal is affected in some way.
The git repo I link in this issue is a brand new nx 17.3.1 repo, and the repo contains a single branch with the only change being that I ran nx connect. The main branch works fine, the withToken branch does not.
When running nx serve test on the withToken branch I can see ^D being shown in the terminal, this is not shown in the main branch. See the two videos below:
with-token.movwhithout-token.mov
Expected Behavior
I expect to be able to stop nx serve or nx build by issuing CTRL-C, and not having to kill the entire terminal.
Current Behavior
If I have an nxCloudAccessToken in my nx.json file, I am unable to stop
nx serve
andnx build
commands using CTRL-C in a terminal. This happens both in VS Code, and in the default OSX Terminal app. It has been working fine in the past. As far as I can recall, it worked fine last week.If I remove
"nxCloudAccessToken": "XXXXX"
from nx.json, things work as expected, and I am able to stop my serve command.It seems that if nx tries to use the distributed cache, the terminal is affected in some way.
The git repo I link in this issue is a brand new nx 17.3.1 repo, and the repo contains a single branch with the only change being that I ran
nx connect
. The main branch works fine, the withToken branch does not.When running
nx serve test
on the withToken branch I can see ^D being shown in the terminal, this is not shown in the main branch. See the two videos below:with-token.mov
whithout-token.mov
Expected Behavior
I expect to be able to stop
nx serve
ornx build
by issuing CTRL-C, and not having to kill the entire terminal.GitHub Repo
https://github.com/SuneRadich/nx-token-issue
Steps to Reproduce
npx create-nx-workspace@17.3.1
(naming the repo and app test)nx connect
nx serve test
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
At work, we have experienced this on at least three different Macbooks, but the issue does not seem to hit Windows 11 users.
The text was updated successfully, but these errors were encountered: