title: All declarations of 'WeakMap' must have identical type parameters
body: <p>I'm building Ionic App and everything is going fine, but when I cloned my source code to another machine, I get an error as shown in the image.</p>
  
  <p>although the app is compiling without errors at the first machine I checked Ionic, npm, typescript and node versions and they are identical for the two machines.</p>
  
  <p>what I'm missing here!?</p>
  
  <p><a href="https://i.stack.imgur.com/LdLRv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LdLRv.png" alt="enter image description here"></a></p>