title: Runtime Error: Maximum call stack size exceeded
body: <p>I have this <code>Ionic</code> project which I wanted to include Firebase Cloud Messaging in it. I've had a couple of errors after trying to test FCM on it, so I troubleshot it and after installing some packages and updating other stuff, such as npm, typescript and such, this is last error I couldn't really find an answer for. I haven't changed anything in the code itself as I found many answers such as infinite loop and so on. I'm not sure how updating some packages as I mentioned before could have done this. Maybe someone could point me in the right direction.</p>
  
  <p>The error message:</p>
  
  <p>Runtime Error:</p>
  
  <pre><code>RangeError: Maximum call stack size exceeded
      at _ValueOutputAstTransformer.visitStringMap (http://localhost:8100/build/vendor.js:141973:42)
      at visitValue (http://localhost:8100/build/vendor.js:122510:24)
      at http://localhost:8100/build/vendor.js:141975:51
      at Array.forEach (&lt;anonymous&gt;)
      at _ValueOutputAstTransformer.visitStringMap (http://localhost:8100/build/vendor.js:141974:26)
      at visitValue (http://localhost:8100/build/vendor.js:122510:24)
      at http://localhost:8100/build/vendor.js:141975:51
      at Array.forEach (&lt;anonymous&gt;)
      at _ValueOutputAstTransformer.visitStringMap (http://localhost:8100/build/vendor.js:141974:26)
      at visitValue (http://localhost:8100/build/vendor.js:122510:24)
  </code></pre>
  
  <p>Thanks</p>