It was just that I had the server up and running in a terminal. I attempted to run npm run build in a parallel terminal. Just terminate the npm run dev or whatever gets your server up!
npm run build