Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Not able to successfully run example #81

Open
davinctor opened this issue Jul 1, 2019 · 0 comments
Open

Not able to successfully run example #81

davinctor opened this issue Jul 1, 2019 · 0 comments

Comments

@davinctor
Copy link

davinctor commented Jul 1, 2019

Good day, gentlemen.

I can't run a working example.
When I'm opening broadcast-socks.html always see only:

Failed to load resource: net::ERR_CONNECTION_REFUSED
:15674/stomp/info?t=1561977023243:1 Failed to load resource: net::ERR_CONNECTION_REFUSED

Whoops! Lost connection to http://localhost:15674/stomp: 
event: n {type: "close", bubbles: false, cancelable: false, timeStamp: 1561977023295, wasClean: false, …}

Whoops! Lost connection to http://localhost:15674/stomp: 
event: n {type: "close", bubbles: false, cancelable: false, timeStamp: 1561977023297, wasClean: false, …}

Obviously it's can't connect to the websocket.

Also, I'm not able to run node run example/broadcast-node.js directly.
The error is the next:

internal/modules/cjs/loader.js:626
    throw err;
    ^

Error: Cannot find module '.../webstomp-client/run'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)
    at Function.Module._load (internal/modules/cjs/loader.js:527:27)
    at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)
    at internal/main/run_main_module.js:17:11 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Would be thankful for any help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant