CleverProgrammers / nodejs-zoom-clone

847 stars 484 forks source link

How does this work? #10

Open Starbors opened 4 years ago

Starbors commented 4 years ago

Hi how does this work?

and what apps do l need ....

ProgrammerPro94 commented 4 years ago

It works with the help of node.js and webrtc's peer.

Starbors commented 4 years ago

No l mean how can l run dis

codergautam commented 4 years ago

Vscode powershell terminal node server.js

Starbors commented 4 years ago

Vscode powershell terminal node server.js

Error: Cannot find module 'C:\Users\Ryan samaeian\Desktop\Lettters\nodejs-zoom-clone-master\server.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15) at Function.Module._load (internal/modules/cjs/loader.js:898:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []

codergautam commented 4 years ago

Make sure to install all the required modules...

npm install express

npm install socket.io

npm install peerjs

Starbors commented 4 years ago

ty

Starbors commented 4 years ago

But when l run it it does not reply with anything,howerver it did open node.js and asked me to to an internet thing

Starbors commented 4 years ago

events.js:292 throw er; // Unhandled 'error' event ^

Error: listen EADDRINUSE: address already in use :::3030 at Server.setupListenHandle [as _listen2] (net.js:1313:16) at listenInCluster (net.js:1361:12) at Server.listen (net.js:1447:7) at Object. (C:\Users\Ryan samaeian\Desktop\Lettters\nodejs-zoom-clone-master (1)\nodejs-zoom-clone-master\server.js:42:8) at Module._compile (internal/modules/cjs/loader.js:1200:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10) at Module.load (internal/modules/cjs/loader.js:1049:32) at Function.Module._load (internal/modules/cjs/loader.js:937:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 Emitted 'error' event at: at WebSocketServer. (C:\Users\Ryan samaeian\Desktop\Lettters\nodejs-zoom-clone-master (1)\nodejs-zoom-clone-master\node_modules\peer\dist\src\instance.js:53:13)
at WebSocketServer.emit (events.js:315:20) at WebSocketServer._onSocketError (C:\Users\Ryan samaeian\Desktop\Lettters\nodejs-zoom-clone-master (1)\nodejs-zoom-clone-master\node_modules\peer\dist\src\services\webSocketServer\index.js:49:14) at WebSocketServer. (C:\Users\Ryan samaeian\Desktop\Lettters\nodejs-zoom-clone-master (1)\nodejs-zoom-clone-master\node_modules\peer\dist\src\services\webSocketServer\index.js:22:55) at WebSocketServer.emit (events.js:315:20) at Server.emit (events.js:315:20) at emitErrorNT (net.js:1340:8) at processTicksAndRejections (internal/process/task_queues.js:84:21) { code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '::', port: 3030 } Woah

Starbors commented 4 years ago

OHH ok so l did it but when l run node server.js it doesnt reply or do anything

codergautam commented 4 years ago

Idk man... Worked for me

Starbors commented 4 years ago

Can you show me a demo of the app?

idsus commented 4 years ago

Me too

codergautam commented 3 years ago

https://google-meet-clone.herokuapp.com/ Sorry for late reply

idsus commented 3 years ago

Really, that was the application they made?

codergautam commented 3 years ago

Yes, I made some modifications like the home screen... there is code https://github.com/codergautam/GoogleMeetClone

Starbors commented 3 years ago

hmm??

Starbors commented 3 years ago

ye its fixed no need to advertise your project

Starbors commented 3 years ago

Really, that was the application they made?

no man THATS not at all

Boopalan-M commented 3 years ago

https://google-meet-clone.herokuapp.com/ Sorry for late reply

in this how can i add screenshare functionality

LaiqueMirza commented 3 years ago

@Starbors @idontcareofusername guyz i know what you are doing wrong. first you have to go in that directory than install, than run .

Just run the following code step by step.

step 1

cd nodejs-zoom-clone-master

step 2

npm install

step 3

npm start

than go to localhost:3030 and it would be running

idsus commented 3 years ago

ok the port is 3030 ill try this