Skip to content

Windows 10 ng server stucks #1

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
Mihai-Ionut-Aurel opened this issue Nov 25, 2017 · 2 comments
Closed

Windows 10 ng server stucks #1

Mihai-Ionut-Aurel opened this issue Nov 25, 2017 · 2 comments
Labels

Comments

@Mihai-Ionut-Aurel
Copy link

Hi,
I am trying to run the seed UI in Intellij but the UI is not running. So I tried to run ng serve in the UI folder.
The nodejs server starts and the RAM memory that it is occupied grows constantly but the server doesn't run in the end. I have waited for some time with no luck for it.
Do you know why ng serve would take so much time and why it wouldn't work?
I have latest version of nodejs (v8.9.1) and npm(5.5.1).
Thank you!

@Mihai-Ionut-Aurel
Copy link
Author

I think I found the problem. In the "ui" folder ,in the package.json change the line with
"start": "ng serve --open --proxy-config proxy.conf.json",
With:
"start": "ng serve --open --proxy-config proxy.conf.json --host 0.0.0.0 --port 4200"

@yohangz yohangz added the bug label Nov 28, 2017
@yohangz
Copy link
Contributor

yohangz commented Nov 28, 2017

This seems like a angular cli specific issue
angular/angular-cli#2375

Angular CLI default host is localhost and post is 4200
https://github.com/angular/angular-cli/wiki/serve

For some reason Angular CLI fail to start the application with localhost without explicitly specifying setting the host to 0.0.0.0

I will push an update with host configuration. No need to explicitly specify a port unless you need to override the port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants