kn0ll / nautical

web based ChucK ide inspired by miniAudicle. built on Node.js and Backbone.js.
6 stars 0 forks source link

Execution error on Kubuntu 13.10 #1

Open jeckel opened 10 years ago

jeckel commented 10 years ago

Hi,

I've installed all prerequires you have listed, but when running node server.js I have this error :

/home/jeckel/App/nautical/server.js:9 Socket(function() { return server }, function (client, req, res) { ^ TypeError: undefined is not a function at Object. (/home/jeckel/App/nautical/server.js:9:5) 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:901:3

I'm not really good at nodejs (better in PHP) so any help would be really appreciated.

Thanks a lot

kn0ll commented 10 years ago

hi! thanks for your issue and interest in the project!!

i'm betting the issue is that you are not using the correct socket.io-connect version. this is a fault of mine- rather than declaring the dependencies in the readme i should have just used package.json to specify dependencies and versions. but this was before i really knew how to use NPM. :)

so- the solution is for me to checkout the project again and create a proper dependency manifest, which i will try to do in the next week. in the mean time if you're eager, you can try installing different socket.io-connect versions (that existed 3 years ago) until one works. but it may be a pain in the ass.

ideally, i'd like to write a Chuck VM for the Web Audio API, so you don't need a server component at all. but that seems like an insane undertaking xD