David Kimura PRO said about 3 years ago on Deploying to Amazon Linux 2 :
Try running yarn install to see what happens