title: ionic add platform android/ios : Cannot find module config-chain
body: <p>I want to upgrade my ionic version. so i just run </p>
  
  <blockquote>
    <p>npm install -g ionic cordova  </p>
  </blockquote>
  
  <p>seems successfully installed. but when i run </p>
  
  <blockquote>
    <p>ionic add platform android/ios </p>
  </blockquote>
  
  <p>it shows <strong><em>Cannot find module config-chain</em></strong>. so. i just follow the instructions and install the <strong>config-chain</strong> module. and another module just comes up :(. so and so..after about 10 module installed. it shows <strong><em>Probably this is either a connection problem, or platform spec is incorrect...</em></strong>.  </p>
  
  <p>oh~ anyone shows up to help me!?  thanks~~~</p>
  
  <p>@suraj my package.json :</p>
  
  <pre><code>"dependencies": {
    },
    "devDependencies": {
      "bower": "^1.3.3",
      "del": "^1.1.1",
      "gulp": "^3.5.6",
      "gulp-angular-templatecache": "^2.0.0",
      "gulp-autoprefixer": "^3.1.1",
      "gulp-bytediff": "^1.0.0",
      "gulp-concat": "^2.2.0",
      "gulp-csso": "^2.0.0",
      "gulp-filter": "^4.0.0",
      "gulp-flatten": "^0.3.1",
      "gulp-header": "^1.8.8",
      "gulp-if": "^2.0.2",
      "gulp-imagemin": "^3.1.1",
      "gulp-inject": "^4.2.0",
      "gulp-load-plugins": "^1.4.0",
      "gulp-minify-css": "^0.3.0",
      "gulp-minify-html": "^1.0.6",
      "gulp-ng-annotate": "^2.0.0",
      "gulp-order": "^1.1.1",
      "gulp-plumber": "^1.1.0",
      "gulp-protractor": "^3.0.0",
      "gulp-rename": "^1.2.0",
      "gulp-rev": "^7.1.2",
      "gulp-rev-replace": "^0.4.3",
      "gulp-sass": "^2.0.4",
      "gulp-sourcemaps": "^1.9.1",
      "gulp-task-listing": "^1.0.1",
      "gulp-uglify": "^2.0.0",
      "gulp-useref": "^3.1.2",
      "gulp-util": "^2.2.14",
      "gulp-watch": "^4.3.11",
      "jasmine-core": "^2.5.2",
      "karma": "^1.3.0",
      "karma-chrome-launcher": "^2.0.0",
      "karma-coverage": "^1.1.1",
      "karma-jasmine": "^1.1.0",
      "karma-junit-reporter": "^1.2.0",
      "karma-mocha-reporter": "^2.2.1",
      "protractor": "^4.0.14",
      "run-sequence": "^1.2.2",
      "shelljs": "^0.3.0",
      "wiredep": "^4.0.0",
      "yargs": "^6.5.0"
    },
    "cordovaPlugins": [
      "cordova-plugin-device",
      "cordova-plugin-console",
      "cordova-plugin-whitelist",
      "cordova-plugin-splashscreen",
      "cordova-plugin-statusbar",
      "ionic-plugin-keyboard"
    ],
    "cordovaPlatforms": []
  </code></pre>