how does socket.io client find /socket.io/socket.io.js [duplicate]Where is the Socket.IO client-side .js file located?How to decide when to use Node.js?How to exit in Node.jsFind the version of an installed npm packageWhere is the Socket.IO client-side .js file located?Node.js Socket.IO client 'unhandled socket.io url'socket.io/socket.io.js - not found. Node.js, express.js and socket.io appsocket.io.js path in nodejs with localhost in windowsHow to use socket.io browserify?Cannot GET /socket.io/socket.io.jswhere is socket.io/socket.io.js location?

Solving Equations with HeavisideTheta Functions

Auto replacement of characters

Is it possible to obtain the address of the this pointer?

Story about two rival crews terraforming a planet

Why is quantum gravity non-renormalizable?

Who pays for increased security measures on flights to the US?

Go function to test whether a file exists

When should we use dependency injection (C#)

What is the difference between a historical drama and a period drama?

Turing Machines: What is the difference between recognizing, deciding, total, accepting, rejecting?

How can I get a file's size with C++17?

Has there ever been a cold war other than between the U.S. and the U.S.S.R.?

what is the meaning of "stock" dilution on the Massive Dev Chart Website?

Birthday girl's casino game

C++20 with u8, char8_t and std::string?

My mother co-signed for my car. Can she take it away from me if I am the one making car payments?

Need SQL Server VLAN advice.. is it best practice to have all SQL Servers under 1 VLAN/network zone?

Can you use a reaction to affect initiative rolls?

What does "another" mean in this case?

Does the North Korea Kim Jong Un have an heir?

Why did my leaking pool light trip the circuit breaker, but not the GFCI?

Are the plates of a battery really charged?

Does this circuit have marginal voltage level problem?

How long had Bertha Mason been in the attic at the point of the events in Jane Eyre



how does socket.io client find /socket.io/socket.io.js [duplicate]


Where is the Socket.IO client-side .js file located?How to decide when to use Node.js?How to exit in Node.jsFind the version of an installed npm packageWhere is the Socket.IO client-side .js file located?Node.js Socket.IO client 'unhandled socket.io url'socket.io/socket.io.js - not found. Node.js, express.js and socket.io appsocket.io.js path in nodejs with localhost in windowsHow to use socket.io browserify?Cannot GET /socket.io/socket.io.jswhere is socket.io/socket.io.js location?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0
















This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers



I have node, socket.io, npm installed on an ubuntu 16.04 aws instance. I can start a socket.io project and it is running -- says listening on port *3000, but on the client side



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


cannot find the client file.



What service translates the src path into the real path, and where should npm and node_modules be installed relative to the client.html file?










share|improve this question















marked as duplicate by OrangeDog, Community♦ May 10 at 15:17


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • I feel your question is a little bit off topic. How to ask

    – N8888
    Mar 25 at 17:42

















0
















This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers



I have node, socket.io, npm installed on an ubuntu 16.04 aws instance. I can start a socket.io project and it is running -- says listening on port *3000, but on the client side



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


cannot find the client file.



What service translates the src path into the real path, and where should npm and node_modules be installed relative to the client.html file?










share|improve this question















marked as duplicate by OrangeDog, Community♦ May 10 at 15:17


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • I feel your question is a little bit off topic. How to ask

    – N8888
    Mar 25 at 17:42













0












0








0









This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers



I have node, socket.io, npm installed on an ubuntu 16.04 aws instance. I can start a socket.io project and it is running -- says listening on port *3000, but on the client side



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


cannot find the client file.



What service translates the src path into the real path, and where should npm and node_modules be installed relative to the client.html file?










share|improve this question

















This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers



I have node, socket.io, npm installed on an ubuntu 16.04 aws instance. I can start a socket.io project and it is running -- says listening on port *3000, but on the client side



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


cannot find the client file.



What service translates the src path into the real path, and where should npm and node_modules be installed relative to the client.html file?





This question already has an answer here:



  • Where is the Socket.IO client-side .js file located?

    5 answers







node.js socket.io






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 12:26









OrangeDog

22.5k7 gold badges69 silver badges147 bronze badges




22.5k7 gold badges69 silver badges147 bronze badges










asked Mar 25 at 17:38









techdogtechdog

5051 gold badge9 silver badges24 bronze badges




5051 gold badge9 silver badges24 bronze badges




marked as duplicate by OrangeDog, Community♦ May 10 at 15:17


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by OrangeDog, Community♦ May 10 at 15:17


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • I feel your question is a little bit off topic. How to ask

    – N8888
    Mar 25 at 17:42

















  • I feel your question is a little bit off topic. How to ask

    – N8888
    Mar 25 at 17:42
















I feel your question is a little bit off topic. How to ask

– N8888
Mar 25 at 17:42





I feel your question is a little bit off topic. How to ask

– N8888
Mar 25 at 17:42












1 Answer
1






active

oldest

votes


















3














It's automatically served by your http server with



var app = require('http').createServer(handler)
var io = require('socket.io')(app);


Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.






share|improve this answer




























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    It's automatically served by your http server with



    var app = require('http').createServer(handler)
    var io = require('socket.io')(app);


    Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.






    share|improve this answer





























      3














      It's automatically served by your http server with



      var app = require('http').createServer(handler)
      var io = require('socket.io')(app);


      Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.






      share|improve this answer



























        3












        3








        3







        It's automatically served by your http server with



        var app = require('http').createServer(handler)
        var io = require('socket.io')(app);


        Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.






        share|improve this answer















        It's automatically served by your http server with



        var app = require('http').createServer(handler)
        var io = require('socket.io')(app);


        Socket.IO also needs an HTTP server for polling, and upgrading connection from HTTP to websocket.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 2 at 13:18









        OrangeDog

        22.5k7 gold badges69 silver badges147 bronze badges




        22.5k7 gold badges69 silver badges147 bronze badges










        answered Mar 25 at 19:33









        Jules GoulleeJules Goullee

        4793 silver badges11 bronze badges




        4793 silver badges11 bronze badges


















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.





            Popular posts from this blog

            How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

            해남서초등학교 학교 연혁 학교 동문 외부 링크 둘러보기 메뉴북위 34° 34′ 21″ 동경 126° 35′ 50″ / 북위 34.5726385° 동경 126.5972670°  / 34.5726385; 126.5972670해남서초등학교eh