what is an error "Error: Unexpected token '}' in JSON at position 1923" in ionic 2
<p>I am using <code>Ionic-2</code> framework. When I install any native plugin in my application it throws the following error in command line.</p>

<blockquote>
  <p>Error: Unexpected token '}' in JSON at position 1923</p>
</blockquote>

<p>I am not getting what is causing this error, now I'm unable to install any plugin.</p>