title: The "chunk" argument must be one of type string or Buffer. Received type object
body: <p>I am trying to run the command to run my ionic 3 Command prompt. I used cordova fcm plugin.</p>
  
  <p>ionic cordova run android</p>
  
  <p>ERROR:</p>
  
  <blockquote>
    <p><strong>The "chunk" argument must be one of type string or Buffer. Received type object</strong></p>
  </blockquote>
  
  <p>Ionic:</p>
  
  <blockquote>
    <p>ionic (Ionic CLI)  : 4.10.1 (/usr/local/lib/node_modules/ionic)<br>
    Ionic Framework    : ionic-angular 3.6.0    @ionic/app-scripts : 2.1.4</p>
  </blockquote>
  
  <p>Cordova:</p>
  
  <blockquote>
    <p>cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)    Cordova
    Platforms     : android 7.1.4    Cordova Plugins       : no
    whitelisted plugins (25 plugins total)</p>
  </blockquote>
  
  <p>System:</p>
  
  <blockquote>
    <p>NodeJS : v10.15.1
    (/Users/sivakumarv/.nvm/versions/node/v10.15.1/bin/node)    npm    :
    6.4.1    OS     : macOS High Sierra    Xcode  : Xcode 10.1 Build version 10B61</p>
  </blockquote>
  
  <p>Environment Variables:</p>
  
  <blockquote>
    <p>ANDROID_HOME : C:\Users\pkhon\AppData\Local\Android\Sdk</p>
  </blockquote>