DEV Community

Cover image for List of Issues
Kritika Srivastava
Kritika Srivastava

Posted on • Edited on

2 1

List of Issues

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.

Issue 1:Error while creating react app-

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'
OR
npm ERR! invalid json response body at http://registry.npmjs.org/ansi-escapes reason: Unexpected end of JSON input

Solution:

npm cache clean --force

Solution link:
https://stackoverflow.com/questions/64625539/npm-err-invalid-json-response-body-at-http-registry-npmjs-org-ansi-escapes-re

Issue 2-Error while deploying react app to Netlify

Failed to compile: Cannot find file './containers/App/App' in './src'

Solution:

git rm -r --cached .
git add .
git commit -am 'Removing cached files'

Solution link:
https://stackoverflow.com/questions/55754231/failed-to-compile-cannot-find-file-containers-app-app-in-src

Issue 4-Link-https://stackoverflow.com/questions/71835697/create-react-app-dependency-version-issues-with-react-18/71836035#71836035

Please share the issues in comments which you have encountered recently.

Happy Coding :)
You can follow me on Twitter and Github.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Some comments have been hidden by the post's author - find out more

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay