I upgraded npm and nodejs to 6.14.4 and 12.16.3 resp. Getting below error while creating react app using create-react-app
.
According to readme:
If you've previously installed create-react-app globally via
npm install -g create-react-app
, we recommend you uninstall the package usingnpm uninstall -g create-react-app
to ensure that npx always uses the latest version.
So resolved the problem using command:
npx create-react-app contactmanager