angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Enabling CLI autocompletion makes Ubuntu 22.04.1 LTS terminal hang

Open grott0 opened this issue 3 years ago • 1 comments

Which @angular/* package(s) are the source of the bug?

common

Is this a regression?

No

Description

The terminal always hangs when opened until Ctrl+C is pressed. Then it continues functioning normally. Workaround can be found here: https://askubuntu.com/questions/1438682/ubuntu-20-04-terminal-is-not-responding

Please provide a link to a minimal reproduction of the bug

N/A

Please provide the exception or error you saw

N/A

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 14.2.9
Node: 19.0.1 (Unsupported)
Package Manager: npm 8.19.2 
OS: linux x64

Angular: 
... 

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1402.9 (cli-only)
@angular-devkit/core         14.2.9 (cli-only)
@angular-devkit/schematics   14.2.9 (cli-only)
@schematics/angular          14.2.9 (cli-only)

Anything else?

No response

grott0 avatar Nov 18 '22 20:11 grott0

@grott0,

To be honest I am not sure what is happening here and what exactly ng-common does as this is not a package which is distributed by the Angular team.

  • Is ng globally installed?
  • I did notice that you are using Node.js 19 which version 14 does not support. The current support versions in Angular 14 are Node.js 14 and 16.
  • What is the output of the following two commands ng --get-yargs-completions & ng completion script

alan-agius4 avatar Nov 21 '22 08:11 alan-agius4

Closing due to lack of information provided.

If the problem persists, please open a new issue following our submission guidelines.

alan-agius4 avatar Nov 28 '22 07:11 alan-agius4

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.