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

Fix: add cd react-examples in README.md #40

Open
saqibtanveer786 opened this issue Mar 12, 2024 · 3 comments · May be fixed by #43
Open

Fix: add cd react-examples in README.md #40

saqibtanveer786 opened this issue Mar 12, 2024 · 3 comments · May be fixed by #43

Comments

@saqibtanveer786
Copy link

There is a missing code line.

I observed that people are trying to run npm install within the root directory while trying to run react examples. There is a missing code blog

cd react-examples

Here is the screenshot:

Screenshot from 2024-03-12 12-52-12

@ThakurDevesh
Copy link

ThakurDevesh commented Mar 12, 2024

a missing code line.
cd react-examples
I observed that people are trying to run npm install within the root directory while trying to run react examples. There is a missing code blog

cd react-examples
311986762-5d522907-dfb2-4da5-b479-30429ef5bfa9

@shrysmrty
Copy link

To help you resolve the issue of people trying to run npm install within the root directory while attempting to run React examples, you likely need to provide instructions or scripts to navigate to the appropriate directory before running npm install. Here's a suggested code block you could include in your documentation or instructions:

bash
Copy code

Navigate to the directory containing the React examples

cd path/to/react/examples

Install dependencies for the specific example

npm install
Replace path/to/react/examples with the actual path to the directory where your React examples are located. This code block will change the current directory to where the examples are stored before executing npm install, ensuring that the dependencies are installed within the correct context. Make sure to include this code block in your documentation or instructions wherever you're guiding users through setting up and running the React examples.

@prajeshElEvEn
Copy link

prajeshElEvEn commented Mar 15, 2024

You can take a look at this. Here, I have explained the flow of code and how you can run it.

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

Successfully merging a pull request may close this issue.

4 participants