The error arises when when trying to deploy my ionic v3 app as an azure static web app for which I run a github action workflow (Oryx) using the following config:
Using Node version:
v10.23.0
Using Npm version:
6.14.8
package.json:
{
"name": "suplai-a2",
"version": "0.0.1",
"author": "suplAi",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"start": "ionic-app-scripts serve",
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint"
},
"engines": {
"node": "10.x"
},
"dependencies": {
"@angular/animations": "5.2.11",
"@angular/common": "5.2.11",
"@angular/compiler": "5.2.11",
"@angular/compiler-cli": "5.2.11",
"@angular/core": "5.2.11",
"@angular/forms": "5.2.11",
"@angular/platform-browser": "5.2.11",
"@angular/platform-browser-dynamic": "5.2.11",
"@capacitor/core": "2.4.7",
"@ionic-native/core": "4.20.0",
"@ionic-native/geolocation": "^5.32.0",
"@ionic-native/splash-screen": "4.20.0",
"@ionic-native/status-bar": "4.20.0",
"@ionic/storage": "2.2.0",
"@ngx-translate/core": "^9.1.1",
"@ngx-translate/http-loader": "^2.0.1",
"@types/node": "^14.14.41",
"cordova-plugin-geolocation": "^4.1.0",
"cordova-plugin-network-information": "^2.0.2",
"cordova-sqlite-storage": "^6.0.0",
"dotenv-webpack": "^7.0.2",
"ionic-angular": "3.9.10",
"ionicons": "3.0.0",
"rxjs": "5.5.11",
"sw-toolbox": "3.6.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^5.33.2",
"webpack-retry-chunk-load-plugin": "^2.0.4",
"zone.js": "0.8.29"
},
"devDependencies": {
"@capacitor/cli": "2.4.7",
"@ionic/app-scripts": "3.2.4",
"typescript": "^2.6.2",
"ws": "^3.3.2"
},
"description": "An app from suplAi "
}
error does not arise when running ionic build in my computer where
Using Node version:
v10.13.0
Using Npm version:
6.9.0
I also tried npm install --save @types/eslint@7.2.10 with no success.
Any help would be much appreciated