hey can someone help , i am trying to serve an html file having module scripts with node js , how to serve html file having module scripts in node js
Thanks for this tutorial 🙂
just an tip i was having problem with the server dont initialize, remember to set up the folders on package.json
great, will try it!
hi i like this series of videos keep going, i have a question, if i want to create game lobbies and in these lobbies only two players can play , how to i do that? thank you
I am on minute 7. Trying to start the server but I got some problems: code ELIFECYCLE, errno 1, ser[email protected] start: 'node server.js'. Hope you can help me.
do you use any library like, jQuery?
For some reason, I can't get this to work. only see Cannot GET /
Какая разница между "express.static" и "serverStatic", где используется import serverStatic = require("serve-static"); ?
Упс. Я раньше использовал.
let rootDir = __dirname.substring(0, __dirname.lastIndexOf("\")); (для Win)
let rootDir =__dirname.substring(0, __dirname.lastIndexOf("/")); (для Linux)
Огромнейшее спасибо за такое наглядное и.. (разжеванное?) введение в сокеты!
mine wont install
very nice tutorial!
Great tutorial! I've understood and found a lot of new things. Thank you!
Wow thats exactly what I was searching for! Doable, but Multiplayer 😉
Excellent tutorial! 😄 Keep up the good work.
P.S: The background image in the intro is from Breath of Fire IV… Right?
hello i know it's an old video and it helped me a lot. but i was just wondering is it safe creating a server with express while developing a project. do you need something like a wamp server. i know for sure that loading a project directly from your computer is dangerous. but while working on and testing a project is it safe making a server with express on your personal computer ? thank you for your time
Hi! Can you help me please. i follow step by step on your video i tried many times at io.on but there's no output ''Someone connected at my node.server js and also output of 'Hi, your are connected' how can i fix this?
/socket.io/socket.io.js is not found on my server
Thanks for video, I can study English and good information!~ 😀 in korea
Three phrases: Amazing intro, Amazing video , White VSCode?
I know I'm late but do u think instead of
<li>welcomw to RPS</li>
I can replace with
<h2>welcomw to RPS</h2>
it works, thank you. does anybody know how i can host this code because i have some trouble with it
Now if i want to upload my code to hosting service, do i, and what code i need to change to get it working the same way?
should the players be connected to the same network? Because I am searching for a way to make a local multiplayer game. I do not want it to be online
What's wrong with document.getElementById?
I v'got: "client.js:25 Uncaught TypeError: Cannot read property 'addEventListener' "
i really would love a continuation on the series, thanks fr the amazing video!!!
Wow, thank you so much. I don't usually leave comments but this was high quality man! I did a lot of debugging because I didn't follow you correctly, but that adds to the learning curve. On to the next video 🙂
Is there a way to add your username?
Nice and helpful! Great explanation. Thank you!
when you serve the files from client— is it possible to use index.php instead of index.html because i get an error?? there is a reason why i want to do this. thank you!
Am having the following error:
io is not defined
when it's being called in the client.js, any one knows why am having this please?
how do i make js server on windows?
IT DOES NOT WORK !!!
[nodemon] app crashed – waiting for file changes before starting…
In console there are a lot of error messages "Failed to load resource: http://localhost:8080/socket.io/…" Could not connect to the server."
Thank you so much for this! You're a brilliant teacher, I really appreciate you not rushing over anything and explaining it all, super helpful! 🙂
Hello, if I want to play a game of rock paper scissors with two devices, how do I do that?
I have a friend from Austria and u sound just like him. Are u Austrian? Really good tutorial, Thankyou!
Юрий, огромное тебе спасибо! Я три дня искал нормальное объяснение работе сокетов вообще и в таких играх в частности! Это оказалось очень понятно и ооочень просто, но только благодаря тебе. Спасибо огромнейшее, продолжай развивать канал, супертоп талант педагога у тебя!
how do you do this on a windows 10 device?
Such high quality video!!! I saw when you did the mistake, and i was like "I want to warning him!!!" haha' Glad to know thata those simple hookie mistakes happens with pros like you! haha ' See you in the next video! 😀
Leave a Reply