Skip to content

Feature Request: ng init - to output npm installing versbosly #4549

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

Closed
benwinding opened this issue Feb 9, 2017 · 5 comments
Closed

Feature Request: ng init - to output npm installing versbosly #4549

benwinding opened this issue Feb 9, 2017 · 5 comments

Comments

@benwinding
Copy link

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?

@mfueser
Copy link
Contributor

mfueser commented 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.

@Meligy
Copy link
Contributor

Meligy commented Feb 15, 2017

Superseded by #4416

@benwinding
Copy link
Author

@Meligy so the ng init has been removed as a breaking change?

@filipesilva
Copy link
Contributor

@benwinding correct.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants