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

How to start this project on local host #59

Open
Uneebbhat opened this issue May 13, 2023 · 3 comments
Open

How to start this project on local host #59

Uneebbhat opened this issue May 13, 2023 · 3 comments

Comments

@Uneebbhat
Copy link

I run 'npm start' this command but it is not working
error: PS D:\Uneeb\git clone\mern-social-media> npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\Uneeb\git clone\mern-social-media/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'D:\Uneeb\git clone\mern-social-media\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HP\AppData\Local\npm-cache_logs\2023-05-13T19_46_50_952Z-debug-0.log

@krishna-kpa
Copy link

Inorder to run 'npm start' you need to install nodemon, or you can run app by 'node index.js' in this case you need to restart server everytime you make a change.

@krishna-kpa
Copy link

installing nodemon by 'npm i -g nodemon' this will install it globally

@capt-amlan-padhi
Copy link

capt-amlan-padhi commented Jun 13, 2023

you first need to go into the server or client folder using the cd command. then run npm start

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

3 participants