sockjs / sockjs-erlang

WebSocket emulation - Erlang server
http://sockjs.org
Other
266 stars 120 forks source link

Can't get demos to work #54

Closed lvh closed 11 years ago

lvh commented 11 years ago

(Yes, I did do the get-deps and compile steps)

sockjs-erlang git:master ❯ ./examples/cowboy_echo.erl                                                                                                                                                     ⏎
escript: exception error: no match of right hand side value
                 {error,{"no such file or directory","sockjs.app"}}
  in function  cowboy_echo:main/1 (./examples/cowboy_echo.erl, line 14)
  in call from escript:run/2 (escript.erl, line 747)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_it/1
  in call from init:start_em/1
sockjs-erlang git:master ❯ ./examples/cowboy_test_server.erl                                                                                                                                              ⏎
escript: exception error: no match of right hand side value
                 {error,{"no such file or directory","sockjs.app"}}
  in function  cowboy_test_server:main/1 (./examples/cowboy_test_server.erl, line 14)
  in call from escript:run/2 (escript.erl, line 747)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_it/1
  in call from init:start_em/1

What's sockjs.app and where am I supposed to get it from?

lvh commented 11 years ago

Sorry, I just realized that this is because of #43. Can we close that one instead? There appears to be a fix: #45.

AlanKavanagh commented 11 years ago

I'm still getting this and I just cloned today .

lvh commented 11 years ago

@AlanKavanagh #43 is what you want. (That isn't going anywhere either, it appears, but at least it's not closed.)

AlanKavanagh commented 11 years ago

Thank you , I cloned #45 thinking it would fix the issue it did but others arose in there place !