Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks like tutorial code/docs are outdated again. #252

Open
Chett23 opened this issue Feb 17, 2020 · 0 comments
Open

Looks like tutorial code/docs are outdated again. #252

Chett23 opened this issue Feb 17, 2020 · 0 comments

Comments

@Chett23
Copy link

Chett23 commented Feb 17, 2020

I'm going through the tutorial and a few things wouldn't work as described. First the Makefile, One of the lines in the make file is this @cat ./node_modules/radar_client/node_modules/engine.io-client/dist/engine.io.js >> public/radar_client.js But it throughs an error saying the directory could not be found. sure enough, there is no engine.io-client in the radar_client/dist/ folder. I changed the line to use the engine.io module that I had to download. this got me through the Makefile but when I try to run the Radarclient.alloc() function it never connects to the server. it returns a 404 error at the following url path /engine.io/?EIO=3&transport=polling&t=N1LIQMB and then returns this error

radar_client socket closed null transport error Error: xhr poll error
    at XHR.Transport.onError (radar_client.js:1751)
    at Request.<anonymous> (radar_client.js:1140)
    at Request.Emitter.emit (radar_client.js:3164)
    at Request.onError (radar_client.js:1322)
    at radar_client.js:1269

Im not sure how to fix this one.

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

No branches or pull requests

1 participant