Giter VIP home page Giter VIP logo

node-group-chat's People

Contributors

dkhd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-group-chat's Issues

Desktop/chat/node_modules/ws/lib/websocket.js:347 ...options ^^^

This bug is coming up i have followed your tutorial as well but not able to figure out what is going wrong i am pasting the full log over here

SyntaxError: Unexpected token ...
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/home/arun/Desktop/chat/node_modules/ws/index.js:3:19)

post error

hey! great work on blog but i'm getting post error. how do i fix it? i copied the code as it was. Thank you.

please find the attached image.
image

Console error

(index):21 Uncaught ReferenceError: isTyping is not defined
at HTMLInputElement.oninput ((index):21)

Response on Send: Cannot POST /

This does not work on a server within my local home network. I can connect to my server on the 8080 port just fine, but the send button just returns the following:

Cannot POST /

I suspect that socket.io has been updated significantly since this post so the coding is wildly out of date for this project as it looks to not been maintained. I suspect this because the following script tag in index.ejs would never finds that file.

<script src="../../socket.io/socket.io.js"></script>

The correct path to the js file in question is actually the following:

<script src="../node_modules/socket.io/client-dist/socket.io.js"></script>

There's also a script reference to a very old jQuery implementation that I am not sure if that is causing issues also. At the end of the day, this code and the article that featured it should be taken down if it is not being maintained.

Cannot POST /

All is fine until I send a message and the web page goes blank and only shows the words "Cannot POST /" in the top right.

XSS issue

If I set my name as <script>alert()</script>, it will pop up a alert. Which is a XSS issue

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.