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.

Feature Request: ng init - to output npm installing versbosly

See original GitHub issue

Feature Request

Show the npm installing output when the ng init command is run. Like this!

image

Motivation

For anyone starting with the angular-cli, the first command they typically use is ng init and on all platforms, this is the screen they see.

image

This can be stuck for at least a few minutes, depending on the internet connection, which can be confusing for new users, as they don’t see the familar npm installation output. Basically it makes the npm install look like it could be stuck.

How hard would it be to pipe the output from npm install to the angular-cli?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mfuesercommented, Feb 9, 2017

At the moment npm is started by the exec-function. All output is buffered and written after return of the command. So that would not be live output. Maybe that could be changed to spawn, making error-handling a bit tricky. The feature could be connected to the verbose-flag.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 6, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove `ng update` and `ng init` · Issue #4416 - GitHub
Bug: ng update tries to apply original template to my existing code ... Feature Request: ng init - to output npm installing versbosly...
Read more >
ng-init - npm
Start using ng-init in your project by running `npm i ng-init`. There are no other projects in the npm registry using ng-init.
Read more >
CLI Overview and Command Reference - Angular
Install the CLI using the npm package manager: ... Compiles an Angular application or library into an output directory named dist/ at the...
Read more >
unable to verify the first certificate when running npm install
If you google npm EUNAVAILABLE you get a lot of errors with typings. · p.s. i'm still on node 4.2. · @leetibbett I...
Read more >
Angular TypeScript Tutorial in Visual Studio Code
js and npm correctly installed on your machine, you can type node --version and npm --version . To install the Angular CLI, in...
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