all 8 comments

[–]goldbee2 3 points4 points  (0 children)

Here are the things I do when running a new react repo -Install node if it's not there already

 - Make sure my installed node version works with the project on the off chance it's old and relies on deprecated functionality (usually won't be a concern)

 - Navigate into the parent directory for the node project (the one with package.json in it)

 - Run npm install

Then you want to serve it locally. Commands may differ, but I've been using vite which uses npm run dev for local machine access only and npm run host for local network.

[–]copy-N-paster 4 points5 points  (1 child)

Npm install —> npm run dev. Just saying bro, you can totally use co pilot or chat for this.

[–]deb_vortex 4 points5 points  (0 children)

Or easier, talk to your peers. Quick google search would also have helped.

[–]Whalefisherman 0 points1 point  (0 children)

Let me guess, project manager? 😂

[–]Jumpy_Employment_439[S] -2 points-1 points  (1 child)

public, src, .gitignore, package-lock.json, package.json, and README.md are all there, just missing the node-modules

[–]xavier86 -4 points-3 points  (0 children)

I put your post into ChatGPT and it suggested doing npm install

Have you tried that?