DEV Community

Discussion on: Whatsapp clone with MERN stack (Mongodb, Express, React, Node)

Collapse
 
hamza12337 profile image
HAMZA BRAIMI

client@0.1.0 start C:\Users\hamza\Downloads\whatsapp-clone-master\client
react-scripts start

'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! client@0.1.0 start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the client@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

Collapse
 
kimlimjustin profile image
Justin Maximillian Kimlim

Please run "npm install" to install dependencies as mentioned in README file

Collapse
 
hamza12337 profile image
HAMZA BRAIMI

i do all this ,and nothing happing can you help me please

Thread Thread
 
kimlimjustin profile image
Justin Maximillian Kimlim

Yeah sure, where did you run the command? There are 2 sub directories on the project, client and server, you should run the command there

Thread Thread
 
hamza12337 profile image
HAMZA BRAIMI

hi please bro! id dont know if i can do run just to the sub of client

Thread Thread
 
kimlimjustin profile image
Justin Maximillian Kimlim

just get into the folder on your terminal, by typing cd client to get into the client folder

Look at this example of my terminal:
https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7839tx6akfevqce861s8.png

Btw, you can chat with me for further information about the setup. In addition, WhatsApp clone has been updated for the bug in which you should clone the latest version to avoid bug