I am trying to deploy this app NEWS CHALLENGE but Render is just repeatedly running NPM Run Build without anything happening or the site being deployed.
I used NPM Install for the Build Command and NPM Run Build for the Start Command.
It works fine on my local machine using these commands, although I do have to install esbuild globally. Any advice would be much appreciated.
First thing I notice is that you’re watching for changes which is probably stopping render to continue.
Second thing I notice is that it looks like you’re using web service but there is no server behind your code, its just a static site?
Try the following
Use a static site not web service
Remove the watch flag from the build script in package.json
change build command to npm install; npm run build