Hi I tried deploying my website with the given command CI= npm run build but it did not work im unsure why this happened I have tried looking on the forums but couldnt find any solutions.
package.json you have no
build script, therefore you get the error
12:30:50 PM: $ CI= npm run build 12:30:50 PM: npm ERR! Missing script: "build" 12:30:50 PM: npm ERR! 12:30:50 PM: npm ERR! To see a list of scripts, run: 12:30:50 PM: npm ERR! npm run 12:30:50 PM: npm ERR! A complete log of this run can be found in: 12:30:50 PM: npm ERR! /opt/buildhome/.npm/_logs/2021-09-26T02_30_50_582Z-debug.log
server scripts only, and based on those commands you are attempting to run a node server instance. Please check out [Support Guide] Can I run a web server, HTTP listener, and/or database at Netlify? for why this won’t work.