Hacker News new | ask | show | jobs
by tomp 5455 days ago
I immediately get redirected to http://chatoften.com/login, then get the following error

  ReferenceError: Jade:19
      17| 			p ChatOften connects you with another random Facebook user to have a one-on-one chat with. You'll both see each other's picture and name so that you can start a great conversation. Click register to start.
      18| 			fb:registration(fields="[{'name':'name'},{'name':'gender'},{'name':'location'}]"
    > 19| 			 		, redirect-uri="#{redirectUrl}"
      20| 			 		, fb_only ="true")
      21| 			- if(clientCount > 0)
      22| 				#numClients(style="text-align:center;color:#aaa") There are #{clientCount} people online

  clientCount is not defined
      at Object.anonymous (eval at <anonymous> (/home/ubuntu/src/node/node_modules/jade/lib/jade.js:224:10))
      at ServerResponse._render (/home/ubuntu/src/node/node_modules/express/lib/view.js:425:21)
      at ServerResponse.render (/home/ubuntu/src/node/node_modules/express/lib/view.js:316:17)
      at Router.<anonymous> (/home/ubuntu/www/chatServer/server.js:33:9)
      at done (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:250:22)
      at middleware (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:244:9)
      at param (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:227:11)
      at pass (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:232:6)
      at Router._dispatch (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:255:4)
      at Object.handle (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:45:10)
Hope this "bug report" helps.
1 comments

Thanks tomp, I was deploying a new version and I seemed to have caused an issue. It should now be fixed.