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.
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.
what I'm missing here!?
Just to document this in case anyone has the same issue I was able to fix this by deleting global node_module
folder in path
C:\Users\{user_name}\AppData\Roaming\npm\node_modules
and in my case, there was another folder at C:\node_modules
as indicated at the very end of the error message
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With