ianramzy / decentralized-video-chat

🚀 Zipcall- Acquired @ 250k users 🚀 Peer to peer browser video calling platform with unmatched video quality and latency.
https://zipcall.io
3.3k stars 502 forks source link

npm start doesnt work if i make any changes in the html files/any other files #66

Open hackyguru opened 4 years ago

hackyguru commented 4 years ago

I don't know what is the problem :/ the npm start command doesnt work after changing anything in html or any file. for instance , if i just rename the title of the landing.html and close vs code and open it again and then do npm build , it doesnt work. if i clone the repo again , its fine but the same thing happens if i change something

ianramzy commented 4 years ago

npm build is not a valid command. If you are just changing static files i.e. Browser JS and HTML files (not server.js) you shouldn't even need to restart the NPM server.

Chaphasilor commented 4 years ago

@hackyguru try either running npm start (never npm build) or just node server.js. Both of the commands should start the server :)

hackyguru commented 4 years ago

i am doing npm install and npm start - it works. but if i try to change any of the html files for example , landing.html and then close vs code and start again to do npm start.... it doesnt work :/ what could be the reason.. im encountering this fr the first time

ianramzy commented 4 years ago

Are you saving the files? Your browser could also be caching old versions of the files. Try a force refresh (google the command)

rencontre634 commented 4 years ago

Hi how can i use it with localhost on xampserver?

Chaphasilor commented 4 years ago

Hi how can i use it with localhost on xampserver?

Hey, I'm afraid you can't :/
xampp is a HTTP (static pages) and php server, but this project uses a NodeJS (JavaScript) server.

To run it, you have to install NodeJS, which will also install the command line program npm.

Once these two are installed, you can type npm install into a console, and once that's finished npm start :)