4ib3r / StompBrokerJS

NodeJS StompBroker
MIT License
35 stars 28 forks source link

The SockJS example is not working #17

Closed bjdash closed 5 years ago

bjdash commented 6 years ago

The example fails during handshake. /ws url is returning 404 . Refer below image:

image

ypetya commented 6 years ago

Can you please try to remove the package-lock.json from examples/sockjs ?

The following works on my dev-env, with chrome browser.

  1. checking out the master branch
  2. npm install in the root project dir
  3. remove package-lock.json from examples/sockjs directory
  4. npm install in the examples/sockjs directory
  5. run it with npm start in examples/sockjs directory
  6. ensure console listening on port 3002
  7. opening the browser
4ib3r commented 5 years ago

Fixed