How do I update "app-scripts" in my project?


#1

I get an error when building the app and need to update “app-scripts” in my project. How do I do this?

bash-3.2# ionic info

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:

cordova (Cordova CLI) : 8.0.0
local packages:

@ionic/app-scripts : 1.3.7
Cordova Platforms : ios 4.5.4
Ionic Framework : ionic-angular 3.1.1
System:

Node : v8.10.0
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.2 Build version 9C40b
Environment Variables:

ANDROID_HOME : not set
Misc:

backend : pro
PACKAGE.JSON

{
“name”: “ionic-woo-booking”,
“author”: “Ionic Framework”,
“homepage”: “http://ionicframework.com/”,
“private”: true,
“scripts”: {
“clean”: “ionic-app-scripts clean”,
“build”: “ionic-app-scripts build”,
“ionic:build”: “ionic-app-scripts build”,
“ionic:serve”: “ionic-app-scripts serve”
},
“dependencies”: {
@angular/common”: “4.0.2”,
@angular/compiler”: “4.0.2”,
@angular/compiler-cli”: “4.0.2”,
@angular/core”: “4.0.2”,
@angular/forms”: “4.0.2”,
@angular/http”: “4.0.2”,
@angular/platform-browser”: “4.0.2”,
@angular/platform-browser-dynamic”: “4.0.2”,
@ionic-native/core”: “3.4.2”,
@ionic-native/splash-screen”: “3.4.2”,
@ionic-native/status-bar”: “3.4.2”,
@ionic/storage”: “2.0.1”,
@ngx-translate/core”: “^6.0.1”,
@ngx-translate/http-loader”: “0.0.3”,
“cordova-ios”: “4.5.4”,
“crypto-js”: “^3.1.9-1”,
“ion-multi-picker”: “2.0.0”,
“ionic-angular”: “3.1.1”,
“ionic-native”: “2.9.0”,
“ionicons”: “3.0.0”,
“moment”: “2.17.1”,
“rxjs”: “5.1.1”,
“sw-toolbox”: “3.4.0”,
“zone.js”: “^0.8.20”
},
“devDependencies”: {
@ionic/app-scripts”: “1.3.7”,
“typescript”: “2.3.3”
},
“description”: “IonicWooAuction: An Ionic project”,
“cordovaPlugins”: [
“cordova-plugin-device”,
“cordova-plugin-console”,
“cordova-plugin-whitelist”,
“cordova-plugin-splashscreen”,
“cordova-plugin-statusbar”,
“ionic-plugin-keyboard”
],
“cordovaPlatforms”: []
}


#2

You could try to follow https://update.ionic.zone.