Skip to content
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

Weird symbols in terminal when loosing focus to fast #22715

Closed
1 of 4 tasks
ratatoeskr666 opened this issue Apr 7, 2024 · 7 comments
Closed
1 of 4 tasks

Weird symbols in terminal when loosing focus to fast #22715

ratatoeskr666 opened this issue Apr 7, 2024 · 7 comments
Assignees
Labels

Comments

@ratatoeskr666
Copy link

ratatoeskr666 commented Apr 7, 2024

Current Behavior

When executing an NX command like nx serve <projectName> and leaving the powershell/cmd to fast, weird symbols are being printed out and the execution pauses until I press enter:
image

It happens since an upgrade to NX 18.2.1 and NodeJS 20 LTS.
Tested on two different windows machines. The application doesn't matter, I have the issue with Angular, NestJS and even with a custom command.

Expected Behavior

The command is being executed even if I loose focus to the powershell/terminal shortly after

GitHub Repo

No response

Steps to Reproduce

  1. Create an empty project with NX 18.2.1
  2. Create an application (e.g. angular)
  3. Type nx serve <appName> into a powershell/terminal, submit with enter and quickly switch to another window (loose focus)

Nx Report

NX   Report complete - copy this into the issue template

Node   : 20.12.0
OS     : win32-x64
npm    : 9.7.1

nx                 : 18.2.1
@nx/js             : 18.2.1
@nx/jest           : 18.2.1
@nx/linter         : 18.2.1
@nx/eslint         : 18.2.1
@nx/workspace      : 18.2.1
@nx/angular        : 18.2.1
@nx/cypress        : 18.2.1
@nx/devkit         : 18.2.1
@nx/esbuild        : 18.2.1
@nx/eslint-plugin  : 18.2.1
@nx/node           : 18.2.1
@nx/playwright     : 18.2.1
@nrwl/tao          : 18.2.1
@nx/web            : 18.2.1
@nx/webpack        : 18.2.1
typescript         : 5.4.3
---------------------------------------
Community plugins:
@ngneat/transloco : 6.0.4
ngx-build-plus    : 17.0.0

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@AgentEnder AgentEnder added the scope: core core nx functionality label Apr 12, 2024
@AgentEnder AgentEnder self-assigned this Apr 12, 2024
@ratatoeskr666
Copy link
Author

The issue magically disappeared on both of my windows machines after a couple of days and restarts ¯_(ツ)_/¯
I will close the issue since I can no longer reproduce the bug

@ratatoeskr666
Copy link
Author

Aaaaand the issue is back. I have no idea why, nothing changed

@ratatoeskr666 ratatoeskr666 reopened this Apr 21, 2024
@christianerbsmehl
Copy link

Getting a similar output when simply executing nx test on Windows 11 / nx with @nx/anular 18.3.1 and node 20.12.2

>nx test

> nx run myapp:test

> jest

^[[7;1R

@devalimotahari
Copy link

@christianerbsmehl did you find any solution for that?

@christianerbsmehl
Copy link

Still happens to me regularly. nx reset fixes it for a while until it appears again.

@AgentEnder
Copy link
Member

Closing this as a duplicate of #22358 - we are trying to get a solid fix for this.

@FrozenPandaz FrozenPandaz closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants