Update has broken ionic?

Hi,
This morning I was asked to update to ionic 3.6.0 CLI (which I did along with all the appropriate dependencies). However now ionic serve doesnt work?! it simply goes back to the commant prompt (see image) any ideas causes this?

Capture

cheers

never mind, a reinstall of ionic and its working again?!

1 Like

You were probably missing some local CLI plugin, which then fails silently. Will be fixed in a future version of the CLI:

1 Like

just closed power shell and chrome. and its back doing it again. No changes and no updates…

Capture

very frustrating!

my config:

{
  "name": "viking0.2",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/common": "4.1.3",
    "@angular/compiler": "4.1.3",
    "@angular/compiler-cli": "4.1.3",
    "@angular/core": "4.1.3",
    "@angular/forms": "4.1.3",
    "@angular/http": "4.1.3",
    "@angular/platform-browser": "4.1.3",
    "@angular/platform-browser-dynamic": "4.1.3",
    "@ionic-native/core": "3.12.1",
    "@ionic-native/splash-screen": "3.12.1",
    "@ionic-native/status-bar": "3.12.1",
    "@ionic/storage": "2.0.1",
    "@ngx-translate/core": "^7.1.0",
    "@ngx-translate/http-loader": "^0.1.0",
    "angularfire2": "^4.0.0-rc.1",
    "firebase": "^4.1.5",
    "ionic-angular": "3.5.3",
    "ionicons": "3.0.0",
    "rxjs": "5.4.0",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.12"
  },
  "devDependencies": {
    "@ionic/app-scripts": "2.0.2",
    "@ionic/cli-plugin-cordova": "1.5.0",
    "@ionic/cli-plugin-ionic-angular": "1.4.0",
    "ionic": "3.6.0",
    "typescript": "2.3.4"
  },
  "description": "An Ionic project"
}

Can you run ionic info?

PS D:\Development\viking0.2> ionic serve
PS D:\Development\viking0.2> ionic info
\ Gathering environment info
PS D:\Development\viking0.2> ionic serve
PS D:\Development\viking0.2>

Not much there! :slight_smile:
cheers

1 Like

ok here is a wierd thing. If I move to another project and run any ionic command (serve, info, lab) it works… then if I move back to this project it works! However, if I close the power shell and run on this project alone it fails!

1 Like