"yarn run build" failing

I am trying to deploy a new web service and have yarn run build set as my build command. I have no problem running this build command locally. I’ve also manually added the react-scripts package yarn add react-scripts before deploying. I get this error upon trying to deploy:

/bin/sh: 1: react-scripts: not found

What am I missing?

Thanks! J

A simple test repo (CRNA + express.js) is public here: GitHub - schazers/test-express: test for express react on render

sorry, dumb mistake, need to install and build in that one command. (using yarn; yarn build as the build command)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.