Create-react-app: Unable to get template

Created on 8 Jan 2020  路  5Comments  路  Source: facebook/create-react-app

A template was not provided after running npx create-react-app

stale

Most helpful comment

Use npx --ignore-existing create-react-app <app name>

All 5 comments

Use npx --ignore-existing create-react-app <app name>

Its showing Please specify the project directory

Did you try specifying the project directory...

npx --ignore-existing create-react-app my-project-directory

There's also an approach where you can uninstall the global package using npm uninstall -g create-react-app.
But if that doesn't get rid of the error, you can try:
which create-react-app, and if this shows: /usr/local/bin/create-react-app you can try rm -rf /usr/local/bin/create-react-app.

Source: Template not provided using create-react-app

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DaveLindberg picture DaveLindberg  路  3Comments

fson picture fson  路  3Comments

JimmyLv picture JimmyLv  路  3Comments

xgqfrms-GitHub picture xgqfrms-GitHub  路  3Comments

adrice727 picture adrice727  路  3Comments