VueJS website won't deploy npm run dev gives error: "build command failed"

I fixed my own issue FINALLY!

I changed some code of the package.json file:

From

"scripts": {
    "serve": "vue-cli-service serve --open",
    "build": "vue-cli-service build && gulp licenses ",
    "lint": "vue-cli-service lint",
    "dev": "npm run serve",
    "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm run dev"
 },

To

"scripts": {
    "serve": "vue-cli-service serve --open",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint",
    "dev": "npm run serve",
    "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm run dev"
 },

So I removed && gulp licenses didn’t know why it was there but that did the job