question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng build always asks for ng completion

See original GitHub issue

Command

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:closed
  • Created 10 months ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
alan-agius4commented, Nov 29, 2022
0reactions
alan-agius4commented, Nov 30, 2022

Closing as per above

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found