Web socket remote debugging

miketiv 3 years ago 0
Hi. I've gone through all of the installation steps, but when I run "node socketbug_server.js" I get:

io.configure('production', function () {
TypeError: Object #<Server> has no method 'configure'
at C:\Users\Mike Traficante\Documents\socketsrv\socketbug_server.js:121:6
at Object.<anonymous> (C:\Users\Mike Traficante\Documents\socketsrv\socketbug_server.js:684:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

I'm running Windows 7 64bit. Any idea what I've done wrong?
Manifest Interactive 6 years ago • updated 6 years ago 2
I have a CDN setup for the Socketbug Application and Console code.  This would mean that users could just copy the javascript config code into their HTML file and point their script src to our CDN.  Would make for less work having to setup everything... let me know what you guys think.
SwitzerBaden 4 years ago 0
I was getting the error:
sh: 2: Syntax error: newline unexpected
when I ran the command:
curl http://npmjs.org/install.sh | sh
and fixed it by instead running the command:
curl -k https://npmjs.org/install.sh | sudo sh
Hope this helps someone.
Manifest Interactive 6 years ago 0
This was set to where if you Double Click the Command Prompt input it would clear any text in it.  John pointed out that double click is pretty useful for selecting bits of code in the command line and the input should not be cleared on double click.

I have added some Tripple Click logic that makes it so you have to click three times really quickly to clear the command prompt.  Seems to work pretty well.

You can still use tripple click to select all text... you just have to do it at a normal click speed.

To clear the command prompt you need to click quickly.  Its almost hard to do... but not really...

Anyway, need some better ways to clear this if anyone has a better idea ;)
Manifest Interactive 6 years ago 0
There is a big in v0.2.0 where if you are hosting your console code remotely, it will not set the base path for the plugins correctly, so you will get this error.  This has been fixed in the master branch.