Upgrade Required Node.js
I'm working on a simple chat application. It works on localhost, but whenever I upload it into repl, it says "Upgrade Required".
This message isn't for update nodejs, this message is for upgrade server.
@TheForArkLD this code works perfectly fine in localhost, so im not sure if its something with repl or what
@realTronsi ok read it
@TheForArkLD I know what the error is, but I just dont know how to fix it since it works fine in localhost
@realTronsi sry idk...
i cant help you sry....
can i do collab with me?
this is my reflection...
@realTronsi (i recommend use socket.io)
@TheForArkLD sure I can collab, I've been focusing on websockets and such
@realTronsi ok, can you make bash repl?
@TheForArkLD I dont know any bash, Ive been focusing on javascript and web development lately :(
@realTronsi you dont need code bash :)
Hello, hit
ctrl+shift+s
and do:
npm i node
This worked for me. Hopes this helps!
@Coder100 didnt work for me unfortunately, are there any alternatives
@Coder100 when you say "this worked for me" do you mean specifically for this repl? If so it may just be some school laptop restrictions messing up repl
hmm... strange, schools shouldn't be able to change repl.it's behavior, but you could also manually install node.js and manually drop in the shell file at the end. @realTronsi
@Coder100 that problem seems to be fixed, but now I have a new problem where the websockets handshakes are failing because repl uses https, and im not sure how websockets would work on repl