title: Ionic Native Google Maps: Ionic-App-Scripts Command Not Found
body: <p>I am attempting a go at mobile app development with maps integration. I am currently trying to do this with:
  Node
  Ionic
  Cordova
  Cordova Google Maps Plugin
  Windows 10 (build 1803)</p>
  
  <p>The app itself builds correctly when creating a blank template, and will load fine. However, when I add references to my google maps plugin it results in this error:</p>
  
  <pre><code>[INFO] Looks like @ionic/app-scripts isn't installed in this project.
  
         This package is required for this command to work properly.
  
  ? Install @ionic/app-scripts? Yes
  &gt; npm i -D -E @ionic/app-scripts
  npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist &gt;3.0 config used in other tools.
  npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  + @ionic/app-scripts@3.2.0
  updated 1 package and audited 9232 packages in 21.358s
  
  found 6 vulnerabilities (5 moderate, 1 critical)
    run `npm audit fix` to fix them, or `npm audit` for details
  &gt; ionic-app-scripts build
  [08:15:08]  ionic-app-scripts 3.2.0
  [08:15:08]  build dev started ...
  [08:15:08]  clean started ...
  [08:15:08]  clean finished in 3 ms
  [08:15:08]  copy started ...
  [08:15:08]  deeplinks started ...
  [08:15:08]  deeplinks finished in 14 ms
  [08:15:08]  transpile started ...
  [08:15:14]  typescript: ...fors/ionic2-native-maps/node_modules/ionic-native/node_modules/rxjs/Subject.d.ts, line: 16
              Class 'Subject&lt;T&gt;' incorrectly extends base class 'Observable&lt;T&gt;'. Types of property 'lift' are
              incompatible. Type '&lt;R&gt;(operator: Operator&lt;T, R&gt;) =&gt; Observable&lt;T&gt;' is not assignable to type '&lt;R&gt;(operator:
              Operator&lt;T, R&gt;) =&gt; Observable&lt;R&gt;'. Type 'Observable&lt;T&gt;' is not assignable to type 'Observable&lt;R&gt;'. Type 'T'
              is not assignable to type 'R'.
  
        L16:  export declare class Subject&lt;T&gt; extends Observable&lt;T&gt; implements ISubscription {
        L17:      observers: Observer&lt;T&gt;[];
  
  [08:15:14]  typescript: ...node_modules/ionic-native/node_modules/rxjs/observable/dom/WebSocketSubject.d.ts, line: 23
  [08:15:14]  ionic-app-script task: "build"
  [08:15:14]  Error: Failed to transpile program
  Error: Failed to transpile program
      at new BuildError (C:\Users\Brett Lidfors\ionic2-native-maps\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28)
      at C:\Users\Brett Lidfors\ionic2-native-maps\node_modules\@ionic\app-scripts\dist\transpile.js:159:20
      at new Promise (&lt;anonymous&gt;)
      at transpileWorker (C:\Users\Brett Lidfors\ionic2-native-maps\node_modules\@ionic\app-scripts\dist\transpile.js:107:12)
      at Object.transpile (C:\Users\Brett Lidfors\ionic2-native-maps\node_modules\@ionic\app-scripts\dist\transpile.js:64:12)
      at C:\Users\Brett Lidfors\ionic2-native-maps\node_modules\@ionic\app-scripts\dist\build.js:109:82
      at &lt;anonymous&gt;
              Class 'WebSocketSubject&lt;T&gt;' incorrectly extends base class 'AnonymousSubject&lt;T&gt;'. Types of property 'lift'
              are incompatible. Type '&lt;R&gt;(operator: Operator&lt;T, R&gt;) =&gt; WebSocketSubject&lt;R&gt;' is not assignable to type
              '&lt;R&gt;(operator: Operator&lt;T, R&gt;) =&gt; Observable&lt;T&gt;'. Type 'WebSocketSubject&lt;R&gt;' is not assignable to type
              'Observable&lt;T&gt;'. Types of property 'operator' are incompatible. Type 'Operator&lt;any, R&gt;' is not assignable to
              type 'Operator&lt;any, T&gt;'. Type 'R' is not assignable to type 'T'.
  
        L23:  export declare class WebSocketSubject&lt;T&gt; extends AnonymousSubject&lt;T&gt; {
        L24:      url: string;
  
  [ERROR] ionic-app-scripts command not found.
  </code></pre>
  
  <p>I have tried the "delete your modules and run npm install, and have even tried doing this with a second project. Is there any known issue with this combination, or can anyone offer a different solution? I am happy to provide more information.</p>
  
  <p>EDIT:
  Here is my package.json file:</p>
  
  <pre><code>{
    "name": "ionic2-native-maps",
    "version": "0.0.1",
    "author": "Ionic Framework",
    "homepage": "http://ionicframework.com/",
    "private": true,
    "scripts": {
      "start": "ionic-app-scripts serve",
      "clean": "ionic-app-scripts clean",
      "build": "ionic-app-scripts build",
      "lint": "ionic-app-scripts lint"
    },
    "dependencies": {
      "@angular/animations": "5.2.11",
      "@angular/common": "5.2.11",
      "@angular/compiler": "5.2.11",
      "@angular/compiler-cli": "5.2.11",
      "@angular/core": "5.2.11",
      "@angular/forms": "5.2.11",
      "@angular/http": "5.2.11",
      "@angular/platform-browser": "5.2.11",
      "@angular/platform-browser-dynamic": "5.2.11",
      "@ionic-native/core": "^4.15.0",
      "@ionic-native/google-maps": "^4.14.0",
      "@ionic-native/splash-screen": "^4.15.0",
      "@ionic-native/status-bar": "~4.12.0",
      "@ionic/storage": "2.2.0",
      "@types/google-maps": "^3.2.0",
      "cordova-android": "7.1.1",
      "cordova-ios": "3.9.0",
      "cordova-plugin-device": "^2.0.2",
      "cordova-plugin-googlemaps": "2.4.6",
      "cordova-plugin-ionic-keyboard": "^2.1.3",
      "cordova-plugin-ionic-webview": "^2.1.4",
      "cordova-plugin-splashscreen": "^5.0.2",
      "cordova-plugin-statusbar": "^2.4.2",
      "cordova-plugin-whitelist": "^1.3.3",
      "ionic-angular": "3.9.2",
      "ionic-native": "^2.9.0",
      "ionicons": "3.0.0",
      "node-sass": "^4.9.3",
      "rxjs": "5.5.11",
      "sw-toolbox": "3.6.0",
      "zone.js": "0.8.26"
    },
    "devDependencies": {
      "@ionic/app-scripts": "3.2.0",
      "typescript": "~2.6.2"
    },
    "description": "An Ionic project",
    "cordova": {
      "plugins": {
        "cordova-plugin-whitelist": {},
        "cordova-plugin-statusbar": {},
        "cordova-plugin-device": {},
        "cordova-plugin-splashscreen": {},
        "cordova-plugin-ionic-webview": {
          "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
        },
        "cordova-plugin-ionic-keyboard": {},
        "cordova-plugin-googlemaps": {
          "API_KEY_FOR_ANDROID": "MY KEY IS HERE",
          "API_KEY_FOR_IOS": "MY KEY IS HERE",
          "PLAY_SERVICES_VERSION": "15.0.1",
          "ANDROID_SUPPORT_V4_VERSION": "27.+"
        }
      },
      "platforms": [
        "android"
      ]
    }
  }
  </code></pre>