You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Options:
-V, --version output the version number
--verbose print additional logs
--info print environment debug info
--scripts-version use a non-standard version of react-scripts
--template specify a template for the created project
--use-pnp
-h, --help output usage information
Only is required.
A custom --scripts-version can be one of:
- a specific npm version: 0.8.2
- a specific npm tag: @next
- a custom fork published on npm: my-react-scripts
- a local path relative to the current working directory: file:../my-react-scripts
- a .tgz archive: https://mysite.com/my-react-scripts-0.8.2.tgz
- a .tar.gz archive: https://mysite.com/my-react-scripts-0.8.2.tar.gz
It is not needed unless you specifically want to use a fork.
A custom --template can be one of:
- a custom template published on npm: cra-template-typescript
- a local path relative to the current working directory: file:../my-custom-template
- a .tgz archive: https://mysite.com/my-custom-template-0.8.2.tgz
- a .tar.gz archive: https://mysite.com/my-custom-template-0.8.2.tar.gz
If you have any problems, do not hesitate to file an issue:
https://github.com/facebook/create-react-app/issues/new
The text was updated successfully, but these errors were encountered:
Hi, @MosesJCoker!
Can you provide us with more info? For example: could you paste the full error log so we can try to identify the context and the first error trigger?
What were you expecting to find with that command? Here you can find docs on how to use create-react-app.
Run this command for create a new project npx create-react-app new-project
After the project is created open the folder and use this command to run the project npm run start
Run this command for create a new project npx create-react-app new-project After the project is created open the folder and use this command to run the project npm run start
Adding to OP, you can run npx create-react-app new-project && cd new-project && npm start to accomplish everything above
This command will create a new React project called “new-project”, navigate into the project directory, and then start the development server.
PS C:\Users\moses\files> npx create-react-app --help
Usage: create-react-app [options]
Options:
-V, --version output the version number
--verbose print additional logs
--info print environment debug info
--scripts-version use a non-standard version of react-scripts
--template specify a template for the created project
--use-pnp
-h, --help output usage information
Only is required.
The text was updated successfully, but these errors were encountered: