I am new to Ionic and I have been testing out some stuff. I managed to create a number of projects, run them, serve them and even build them. After learning a few things, I deleted all of them and decided to start afresh. But now I am getting this error when I run ionic serve: An error occurred while running npm i (exit code 1):Unexpected end of JSON input while parsing near ‘…“shasum”:"e6c41992619’.
It looks like a checksum problem, but that’s just me guessing. I have no idea what could have changed for it to suddenly stop working. I had previously created, deleted and re-created projects without any problem. Could anybody point out what might have gone wrong?
The exact command I’m running is ionic start lpw super --lpwalker. Though this is happening no matter what template I use and with or without optional parameters.
I am using Ionic 3.18.0, Cordova 7.0.1, Node 8.5.0 and Git 2.15.0 on a Windows 10 PC.
Please help!!!