This error message in the log is the reason why your pipeline failed:npm ERR! missing script:build
. There are many possible reasons for this error. For example, your package.json file do not have "build" script. Please check your package.json file.
Here is an example of where you would add the script so that you can run a build:
{
"name": "Example Application",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "echo 'build script executed'"
},
"author": "",
"license": ""
}
You can also refer to this ticket and check if you have the same issue.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…