You should first try and match your local environment as close as possible, for example:
Match your local/development package manager in the Build Command. If you use yarn locally, use that on Render. Or swap it for npm if that’s your chosen manager. Mixing them, as you noted above, probably isn’t ideal.
Still around the Build Command; maybe your project needs building for production? e.g. a Build Command of npm install; npm run build;
Match your local/development Node version. This can be set in various ways, more in docs: Specifying a Node Version
If all those are set as you used in development, and you’re still having issues, please share the service name/ID and we can take a closer look.
I used npm install and npm run start because that’s all i need to run the project, i’m using a newest node version so i set the environment variable NODE_VERSION = 16.14.2 and i still have issues deploying the app, gonna send to you in PM the service ID.
16.14.2 isn’t the newest version of Node. 18.12.1 is current LTS and 19.0.1 is the latest. You should be matching what you developed on to keep differences to a minimum. Can you try a manual deploy clearing the build cache?