npm install @ionic/app-scripts@latest --save-dev // being in root directory of your project
npm install @ionic/app-scripts@latest --save-dev