Code Monkey home page Code Monkey logo

Comments (6)

ianramzy avatar ianramzy commented on May 27, 2024

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.

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on May 27, 2024

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

from decentralized-video-chat.

hackyguru avatar hackyguru commented on May 27, 2024

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

from decentralized-video-chat.

ianramzy avatar ianramzy commented on May 27, 2024

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

from decentralized-video-chat.

rencontre634 avatar rencontre634 commented on May 27, 2024

Hi how can i use it with localhost on xampserver?

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on May 27, 2024

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 :)

from decentralized-video-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.