Build dir is not persisted for deployes
mkontsek
TRIALOP
2 years ago
Locally:
run
pnpm build:cmssee that the dist dir is created
run
pnpm start:cmssee that the cms app starts
On Railway:
run
pnpm build:cmslogs show that the dist dir existing, I think?
run
pnpm start:cmssee error that the dist dir does not exist.
ⓘ Deployment information is only viewable by Project members and Railway admins.
1 Replies
brody
EMPLOYEE
2 years ago
You likely just have the paths wrong, can you please send the package.json that contains these scripts?