Skip to content

Unable to Launch Vendure Project on Railway with Admin UI Extensions #2875

Discussion options

You must be logged in to vote

I'm guessing that Railway might have the NODE_ENV env var set to production which would then prevent devDependencies from getting installed.

In general, I'd recommend you look into compiling the admin ui as a deploy step. The reason is that with your current configuration, the custom admin ui app will get compiled every time the Vendure server is started. Not only does it use quite a lot of RAM (about 2GB), but it is also pretty slow. Best to do it once up-front.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MaartenWessels
Comment options

@michaelbromley
Comment options

Answer selected by MaartenWessels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants