title: NativeScript Angular project 'tns run android' gives errors
body: <p>I created a project using the following command:</p>
  
  <pre><code>ng new -c=@nativescript/schematics project-name --shared
  </code></pre>
  
  <p>When I run <code>tns run android</code>, I get the following errors:</p>
  
  <pre><code>platforms/android/app/build/intermediates/merged_assets/debug/mergeDebugAssets/out/app/tns_modules/zone.js/lib/zone-spec/long-stack-trace.ts(25,10): error TS2393: Duplicate function implementation.
  platforms/android/app/build/intermediates/merged_assets/debug/mergeDebugAssets/out/app/tns_modules/zone.js/lib/zone.ts(632,6): error TS2300: Duplicate identifier 'AmbientZone'.
  platforms/android/app/src/main/assets/app/tns_modules/rxjs/src/operator/catch.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operator/catch'.
  </code></pre>
  
  <p>These are just sample errors. There are so many of these kind.</p>
  
  <p>I tried; </p>
  
  <ul>
  <li>Removing node_modules folder and run <code>npm install</code></li>
  <li>Removing platforms/android folder</li>
  <li>Updating NativeScript(5.1.0) and Angular CLI()</li>
  <li>Removing /users/username/.gradle folder and let it reinstall</li>
  <li>Reinstalling Nodejs</li>
  <li>Installing rxjs-compat which only solves rxjs-compat related errors</li>
  </ul>
  
  <p>Nothing worked so far.</p>
  
  <pre><code>ng --version
  </code></pre>
  
  <ul>
  <li>Angular CLI: 7.2.1+</li>
  <li>Angular: 7.1.4</li>
  <li>@angular-devkit/architect 0.12.1 (cli-only)</li>
  <li>@angular-devkit/core 7.0.7</li>
  <li>@angular-devkit/schematics 7.0.7</li>
  <li>@ngtools/webpack 7.1.4 </li>
  <li>@schematics/angular 7.0.7</li>
  <li>@schematics/update 0.12.1 (cli-only)</li>
  <li>rxjs 6.3.3</li>
  <li>typescript 3.1.6</li>
  <li>webpack 4.27.1</li>
  </ul>
  
  <p><code>tns --version</code></p>
  
  <p>5.1.0</p>