ng build always asks for ng completion
See original GitHub issueCommand
build
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
13
Description
Running ng build
always asks for ng completion
which causes my pipline to fail.
I’ve tried to add it to the Dockerfile, but it’s still prompting and it’s not possible to skip that. In my opinion, there should be a global CI mode, not just for the analytics stuff, but for all interactive prompts.
Minimal Reproduction
- run
ng build
Exception or Error
? Would you like to enable autocompletion? This will set up your terminal so pressing TAB while typing Angular CLI
commands will show possible options and autocomplete arguments. (Enabling autocompletion will modify configuration files
Your Environment
Angular CLI: 14.2.6
Node: 16.14.2
Package Manager: npm 8.5.0
OS: linux x64
Anything else relevant?
CLI / Container / CI
Issue Analytics
- State:
- Created 10 months ago
- Comments:5
Top Results From Across the Web
Stop angular cli asking for collecting analytics when I use ng ...
I had the same problem: The new analytics feature of Angular CLI was blocking my CI: https://travis-ci.org/LVM-IT/lvo-logging-lib.
Read more >ng completion - Angular
This modifies your terminal environment to load Angular CLI autocompletion, but can't update your current terminal session. Either restart it or run source...
Read more >Angular 12.0.1 builds multiple times on startup and on file ...
The following shows the multiple compilation and build when starting the application and no changes to files were made. I had upgraded the...
Read more >Identify and Fix Build and Deployment Errors in Your Angular ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >Craft a complete GitLab pipeline for Angular. Part 1
Beside code validation, the pipeline should build the project and produce a prod-ready artifact. You can build Angular app with ng build --prod...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can set the
NG_FORCE_TTY
environment variable tofalse
or0
.See https://code.visualstudio.com/remote/advancedcontainers/environment-variables#_option-1-add-individual-variables
Closing as per above