a year ago
ng serve --proxy-config proxy.config.json --host 0.0.0.0 --disable-host-check --port 4200
Warning: Running a server with --disable-host-check is a security risk. See https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a for more information.
Generating browser application bundles (phase: setup)…
TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browerslist configuration. For more information, see https://angular.io/guide/build#configuring-browser-compatibility
NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning.
Killed
App is getting killed and crashed after displaying the above warning messages.
Github repo reference - https://github.com/DeySmn/Restaurant-Frontend
1 Replies
a year ago
You are trying to run a development server on Railway, you never want to do that, they are costly and have terrible performance, and in this case it's using more memory than your trial plan allows for so it's getting shut down.
I don't currently have anything ready-made to deploy an Angular 15 CSR app onto Railway in production, so I will get back to you on that.