#Angular Dev Server 404 - cannot Get / on Windows 11

13 messages · Page 1 of 1 (latest)

solar flume
#

My Project don't work when i access localhost:4200.

When i build it and run with http-server it woks proper...

The strange thing is that it Works on my Windows 10 PC, but i can't use it due to lack of memory.

cannot Get /

I've already checked every config and tried a lot of things, but it never work.

It worked a single time using the port 8080, but as soon as i refreshed the page using ctrl + shift + R it starter do Cannot Get again.

It's a project that is already being used and other developers are able to build it, but none was able to understand the issue on my side.

ebon juniper
#

You're running ng serve right?

gray kelp
solar flume
#

Yes.
For some reason it looks like an issue with w11...
I installed wsl with linux and it's running well... Windows things... 😵

#

Ty, guys

candid elbow
#

Do you see any logs in the console when running ng serve?

#

Also how did you setup/migrate to windows 11?

chilly glade
#

I have the same problem after updating angular version

#

I dont have any logs in console, i can build the project without erros but dev server doesnt work

candid elbow
#

How did you update your app?

#

No logs in the browser and console?

chilly glade
#

No logs, localhost just responds with 404 not found. I did with ng update using the angular update guide.

#

I can ng build without errors and start the app with http server