Zoom Clone using NodeJS, WebRTC and Websockets.
nomadcoders / noom Goto Github PK
View Code? Open in Web Editor NEWZoom Clone using NodeJS, WebRTC and Websockets.
Home Page: https://nomadcoders.co/noom
Zoom Clone using NodeJS, WebRTC and Websockets.
Home Page: https://nomadcoders.co/noom
#0.2 Server Setup (07:17)
환경은 window 입니다.
npm run dev 실행시
(node:1288) Warning: To load an ES module, set "type": "module" in the
package.json or use the .mjs extension.
(Use node --trace-warnings ...
to show where the warning was created)D:\nomad\zoom\src\server.js:1
import express from "express";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1031:15)
at Module._compile (node:internal/modules/cjs/loader:1065:27)
at Module._compile (C:\Users\82103\AppData\Roaming\npm\node_modules@babel\node\node_modules\pirates\lib\index.js:99:24)
at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Object.newLoader [as .js] (C:\Users\82103\AppData\Roaming\npm\node_modules@babel\node\node_modules\pirates\lib\index.js:104:7)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at Object. (C:\Users\82103\AppData\Roaming\npm\node_modules@babel\node\lib_babel-node.js:176:21)
[nodemon] app crashed - waiting for file changes before starting...
제가 코드를 똑같이 한후, 채팅을 쳐보니 원래 웹페이지에 표시 해야 할것이 Hello(기존에 server.js에서 socket.send("Hello") 부분에서만)만 웹페이지에 표시 돼고, 채팅을 아무리 쳐도 채팅 내용은 컨솔창에 뜹니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.