createToken put request does not work properly

I install the licode platform in ubuntu 12.04 . and I run the basic
example in licode site. But when I run it /createToken put request does not
run properly and it failed. after that in the console log an error is
showing in erizo.js:143 , that socke.emit is not defined.