Search code examples
create-react-app

create-react-app not working not after upgrading npm and nodejs


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.

create-react-app not working


Solution

  • 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 using npm 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