I'm deploying angular 7 app to Azure using bitbucket, I'm using this script in package.json
"scripts": {
"ng": "ng",
"start-ng": "ng serve",
"build": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"postinstall": "npm run build"
},
"engines": {
"node": "8.11.1"
},
and set Application directory to
site\wwwroot\dist\myapp
but it failed, here is the log
I've deployed angular 5 app to Azure in the same way previously and it works fine
Updates
I've set the default node and npm version in package.json and add them as default variable in Application setting
so the new errors is
log
package.json, by defualt, there is default deployment command from kudu that is executed