title: I need to compile an old project (IONIC 2)
body: <p>I have a project on ionic 2, which I have not touched for 3 years, but the client is asking me to change a simple link. And I can not build the application. What should I take into account to recover this project?</p>
  
  <p>I do not want to migrate to ionic 3 or ionic 4, I just want to change the webservices link and that the application continues in ionic 2.</p>
  
  <p>cli packages: (/usr/local/lib/node_modules)</p>
  
  <pre><code>@ionic/cli-utils  : 1.19.2
  ionic (Ionic CLI) : 3.20.0
  </code></pre>
  
  <p>global packages:</p>
  
  <pre><code>cordova (Cordova CLI) : not installed
  </code></pre>
  
  <p>local packages:</p>
  
  <pre><code>@ionic/app-scripts : 1.1.4
  Cordova Platforms  : none
  Ionic Framework    : ionic-angular 2.2.0
  </code></pre>
  
  <p>System:</p>
  
  <pre><code>Android SDK Tools : 26.1.1
  ios-deploy        : 1.9.2
  Node              : v8.9.3
  npm               : 5.5.1
  OS                : macOS
  Xcode             : Xcode 10.1 Build version 10B61
  </code></pre>
  
  <p>Is it possible to build this old project on ionic 2 on my computer?</p>
  
  <hr>
  
  <p>EDIT:
  when <code>sudo ionic cordova platform add android</code> i get:</p>
  
  <p>`(node:41668) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to fetch platform cordova-android@7.0.0
  Probably this is either a connection problem, or platform spec is incorrect.
  Check your connection and platform name/version/URL.
  Error: npm: Command failed with exit code 1 Error output:
  npm WARN @ionic/app-scripts@1.1.4 requires a peer of @angular/tsc-wrapped@* but none is installed. You must install peer dependencies yourself.
  npm WARN @ionic/cli-plugin-ionic-angular@1.3.1 requires a peer of @ionic/app-scripts@^1.3.7 but none is installed. You must install peer dependencies yourself.</p>
  
  <p>npm ERR! Cannot read property '0' of undefined`</p>