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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng serve Port 4200 is already in use #15369
Comments
It is bug in portfinder |
@angular\cli\utilities check-port.js |
did you reac that i have no potrs to kill? |
@korzh17 do you have webpack-dev-server in package.json? |
I've added to my packege.json portfinder": "~1.0.20" and change package-lock.json portfinder to , and works |
Reason: node-portfinder > v1.0.21. |
Version 1.7.4 is no longer supported. Please update to a newer version (8.2.2 is the latest stable version). If the problem persists please file a new issue. |
thanks |
I had the same problem, all ports are refused.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
馃悶 Bug report
Command (mark with an
x
)ng serve --open --port XXXX says error:
Port XXXX is already in use. Use '--port' to specify a different port.
in cmd "netstats" that ports are not used.
Description
Using Intellij Idea.
Its just simple AngularCLI application without additional code.
Just starting npm install -g @angular/cli@1.7.4
and ng new angularclient
Trying to make application Spring Boot + Angular - https://www.baeldung.com/spring-boot-angular-web
After i tried to make another Angular project without backend, just used WebStorm -> AngularCLI -> node v10.16.3. I have got the same error
馃敟 Exception or Error
my project structure first time(when i Did Angular and Spring in 1 project).
-angularclient: e2e, node_modules, src, angular-clie.json, other files...
-src: main->java, resources->static, templates, application.properties; test
pom.xml
When i did it in Intellij in Spring project, my .angular-cli-json -> "$schema": "./node_modules/@angular/cli/lib/config/schema.json", was saying "node_modules not found",
deleted "./", alt+enter on node_modules and its creating package in src/main/resources/static/node_modules. When i tried to move all my angularclient project to "static" - not working.
If it securaly i can share what is in C:\Users\korzh\AppData\Roaming\npm-cache_logs\2019-08-18T18_40_28_465Z-debug.log
Anything else relevant?
The text was updated successfully, but these errors were encountered: