Hello Dev Friends.While coding we often run into repetitive issues and find ourselves Googling again.So here I have made a blog post to capture the common issues we run into.I will be updating the post regularly.
Invalid response body while trying to fetch https://registry.npmjs.org/eslint-plugin-jest: ENOENT: no such file or directory, lstat 'C:\Users\Kritika\AppData\Local\npm-cache_cacache\content-v2\sha512\0e\da\b8126639b9463e48742ecea7388f266acb9fee5fdd478a932b0a282a3a514f006180f3996c00ed971578c0f6524fbd5166f9ad7829bb492af47ad233159e'
npm ERR! invalid json response body at http://registry.npmjs.org/ansi-escapes reason: Unexpected end of JSON input
npm cache clean --force
Failed to compile: Cannot find file './containers/App/App' in './src'
git rm -r --cached .
git add .
git commit -am 'Removing cached files'
Please share the issues in comments which you have encountered recently.