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

rdamian3 picture rdamian3  路  3Comments

jnachtigall picture jnachtigall  路  3Comments

Aranir picture Aranir  路  3Comments

barcher picture barcher  路  3Comments

dualcnhq picture dualcnhq  路  3Comments