Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My React app not installing #13551

Open
MosesJCoker opened this issue Mar 26, 2024 · 3 comments
Open

My React app not installing #13551

MosesJCoker opened this issue Mar 26, 2024 · 3 comments

Comments

@MosesJCoker
Copy link

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.

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
@ChrisUser
Copy link

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.

@BraianS
Copy link

BraianS commented Apr 2, 2024

Hello, @MosesJCoker

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

@AndrewT-Tran
Copy link

Hello, @MosesJCoker

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants