How to run `npm run build`
I am working in a VueJS application. I would like to deploy the application in a cPanel. I am trying to run npm run build. I am getting below error.
https://ibb.co/0Qn30TX
If I run npm run command I am getting below result.
https://ibb.co/Xp9bdDp
How can I run npm run build ?
Well, your pakage.json file has no build command defined in its scripts key.
Maybe you are looking an old tutorial?
Try:
npm run dev
Locally when you are developing. Or:
npm run prod
When you are building for production or deployment.
Please or to participate in this conversation.