Suddenly every deploy Crashes
jakub-borek
TRIALOP

a year ago

Since 2-3h every build and deploy is crashing after starting container with error "Usage Error: Couldn't find a script named "start"."

Container seems to not see yarn run start command, even though we didn't change anything in dockerfile or package.json in last PRs.

Any idea what could have caused this?

Solved

8 Replies

jakub-borek
TRIALOP

a year ago

63deccce-c65b-420f-a2da-4bd74997f8e3


brody
EMPLOYEE

a year ago

do you have a start script?


jakub-borek
TRIALOP

a year ago

Yes, and it worked well for past 2 months for deployments


jakub-borek
TRIALOP

a year ago

It's as if container can't see package.json or something. But same Dockerfile setup was running correctly until today


brody
EMPLOYEE

a year ago

are you deploying the wrong branch? wrong root directory?


jakub-borek
TRIALOP

a year ago

Alright, seems there was some issue with new yarn version, rolled back to use v1.22.22 and works. Will use that for now


brody
EMPLOYEE

a year ago

sounds good!


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...