Accepted answer

Creating an app like the recommended way by the core React team at should solve the problem.

Do this:

npx create-react-app todo-app

Also run the following to clear you npm cache in case that is causing the issues:

npm cache clean --force 

Related Query

More Query from same tag