R
Railwayβ€’12mo ago
GaspyGJ

Problem deploying an Angular

Hello, I have a problem deploying an Angular application on Railway... I get this error "[24:0x35d6080] 8720 ms: Scavenge 249.1 (257.9) -> 248.9 (258.4) MB, 13.5 / 0.0 ms (average mu = 0.709, current mu = 0.673) assignment error;". How can i fix it?
Solution:
in your angular.json make sure the outputPath is set to dist https://github.com/brody192/angular-template then copy the nixpacks.toml and Caddyfile from this repo into yours...
Jump to solution
4 Replies
Percy
Percyβ€’12mo ago
Project ID: N/A
Solution
Brody
Brodyβ€’12mo ago
in your angular.json make sure the outputPath is set to dist https://github.com/brody192/angular-template then copy the nixpacks.toml and Caddyfile from this repo into yours
GaspyGJ
GaspyGJβ€’12mo ago
It works πŸ™‚ thanks πŸ‘
Brody
Brodyβ€’12mo ago
no problem πŸ™‚
Want results from more Discord servers?
Add your server