Hi,
I have done every think , Its running good. But i need your help because i am unable to build this project .
I am using build Command: npm run build
My Package.json is :-
{
"name": "video-chat-master",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"start": "node server.js",
"build": "react-scripts build",
"test": "echo "Error: no test specified" && exit 1"
},
"author": "yadav",
"license": "ISC",
"dependencies": {
"heroku-ssl-redirect": "0.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.1",
"socket.io": "^2.3.0",
"twilio": "^3.47.0"
}
}
its comming error
C:\xampp\htdocs\suresh\video-chat-master>npm run build
[email protected] build C:\xampp\htdocs\suresh\video-chat-master
react-scripts build
Could not find a required file.
Name: index.html
Searched in: C:\xampp\htdocs\suresh\video-chat-master\public
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: react-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\DELL\AppData\Roaming\npm-cache_logs\2020-07-01T13_39_29_409Z-debug.log
Please guide me how can i Build