jbillmann / GarageServer.IO

A simple, lightweight, HTML multiplayer game server (and client) for Node.js
MIT License
181 stars 29 forks source link

Example not working when you switch require to garageserver #29

Open hassanshaikley opened 8 years ago

hassanshaikley commented 8 years ago

garageServer = require('../lib/garageserver.io')

change to

garageServer = require('garageserver.io'),

and it stops working.

the server and client don't output any errors.

in fact when I type in this into the console this happens as though it were behaving normally.

GarageServerIO.getId()
"w15xnyo2V72QRNKNAAAA"