2 years ago
I have deployed my angular application, its showng 502 bad gateway
33 Replies
2 years ago
Angular CLI: 15.1.4
Node: 18.14.0
Package Manager: npm 9.3.1
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1501.4 (cli-only)
@angular-devkit/core 15.1.4 (cli-only)
@angular-devkit/schematics 15.1.4 (cli-only)
@schematics/angular 15.1.4 (cli-only)
2 years ago
above is all configuration, could you please help me in it
2 years ago
https://github.com/brody192/angular-template
Try copying the nixpacks.toml and Caddyfile from this repo into your project.
2 years ago
In logs , i am facing these errors and warning:
1. npm WARN config production Use --omit=dev instead.
2.- Generating browser application bundles (phase: setup)...
level:"error"
replica: 787465f7-68c0-47a2-bca3-b7126b44aeff
3.Browser application bundle generation complete.
level:"error"
replica: 787465f7-68c0-47a2-bca3-b7126b44aeff
2 years ago
i have added , still not working my project
issue in log : admin endpoint disabled
2 years ago
could you please help @brody?
2 years ago
Red doesn't always mean error, please look at what the log says, not its colour.
To help further you would need to share your repo.
2 years ago
code is deployed successfully, but when i am opening the url , 502 is comming
2 years ago
sure , please share your email
2 years ago
https://github.com/PrashantParmar95/lekhamfront
2 years ago
please check the log
2 years ago
ok
2 years ago
could you please share your email, can we
discuss on team or google meet?
2 years ago
ok
2 years ago
have you find any bug?
2 years ago
Here is quick deployment I threw together - https://believable-insight-production.up.railway.app/
Zero code changes.
Please send a screenshot of your public networking section in the service settings.
2 years ago
once i choose generate domain , it is asking me to choose port, what i need to do
2 years ago
which port, sorry i did not getting it
2 years ago
i have choosen same , but still showing this error
Attachments
2 years ago
should i redeploy?
2 years ago
ohh thanks brody , its working for me now
Status changed to Solved brody • over 1 year ago
