I have used firebase right up to yesterday morning, then suddenly in the afternoon "npm install --save firebase" stopped working with the error:
npm ERR! Unexpected end of JSON input while parsing near '...anary.9678bf9.tgz","f'
npm ERR! A complete log of this run can be found in: npm ERR!
C:\Users\manjot\AppData\Roaming\npm-cache_logs\2019-11-04T05_47_36_550Z-debug.log
I've tried updating my node.js from 10 to 13.0.1, uninstalling and installing, clearing cache, restarting my computer, a new project, doing all of this with admin cmd, googled a bit but no luck so far. Why did it suddenly stop working and how to fix this issue? I can still do things like
"npm install --save react-navigation"
or
"npm install --save react-navigation-stack"