Setup socket.io plugin

Post your completed addons to share with the community

Post » Thu Dec 27, 2012 7:52 am

Hey,

I'm going to implement a multiplayer game in C2. So, when I'm going to install socket.io plugin, I faced lots of problems. I will be grateful if anyone can help me out to sort out this problem.

This is what I have done so far.

1. I downloaded nodejs setup from code.google website and install it and the npm command is running well in CMD

2. Then I created a folder called "node-modules" in my C drive and paste the content of socket-io-mod.zip file in that folder.

3. Then I go to that directory in my CMD and run "npm install socket.io.js"

It says npm ERROR TypeError: Object.keys called on non-object]

Please Help !!! mj70072012-12-27 07:56:41
B
2
Posts: 2
Reputation: 504

Post » Thu Dec 27, 2012 6:20 pm

If you're talking about the C2 plugin check how to install plugins and behaviors.

If it's strictly related to node.js, a google search is more appropriate.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest