Npm ERR! Unexpected end of JSON input while parsing near '...bf3d","tarball":"http'

React_learn\poketimes app\poketimes> npm install react-router-dom
npm ERR! Unexpected end of JSON input while parsing near '...bf3d","tarball":"http'

solution to this
npm cache clean --force

i couldn't find a good solution on the net so i ask my peers and they found out hope it helps you all

Dude, use a latest version of React and you will save some troubles like this.