Skip to main content

Posts

Showing posts from December, 2019

On running npx create-react-app app-name, template is missing

On creating a react app using npx create-react-app app-name , if your template is missing and you get the following message on terminal: A template was not provided. This is likely because you're using an outdated version of create-react-app. Please note that global installs of create-react-app are no longer supported. then follow the following commands to correct it. First uninstall the package using npm uninstall - g create - react - app then re-install the create-react-app package using the command: npm install -g create - react - app Finally create the app using the following command: npx create - react - app app-name That's it folks!