-
Notifications
You must be signed in to change notification settings - Fork 12k
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
ng serve - Cannot GET / #28922
Comments
Hi @willemtoerien, I attempted to reproduce the issue locally but was unable to do so. However, I noticed that you're using an unsupported version of Node.js. Could you try downgrading to a supported version to see if that resolves the problem?
|
Hi @alan-agius4 , Just downgraded to v22, and that option 4 was not given. Now, when I start it, it works. Thank you! |
@willemtoerien, on your Node.js version 22 you do not have the latest version of the Angular CLI installed and hence the option is missing. Please re-install the Angular CLI and try again. Thanks. |
I am not sure what is happening here as I am not able to reproduce locally, I have also added a new E2E to test this exact thing and it's also green. |
Goodness. Okay. I tried a bunch of times and still got this error. For now, I'll just not use SSR and will add it later. I'll close this item. Thank you very much @alan-agius4 . |
Which @angular/* package(s) are the source of the bug?
platform-server
Is this a regression?
Yes
Description
I get Cannot GET / when I run the application on first install and start.
ng new test
npm start
npm run build
npm serve:ssr:test
From what I can see in the following code,
response
is null.Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: