JohnMcLear / draw

A real time collaborative drawing tool using nodejs, socket.io & paper.js
Apache License 2.0
482 stars 158 forks source link

`bin/run.sh` hanging on `info - socket.io started` #172

Closed dwinston closed 10 years ago

dwinston commented 10 years ago

I'm trying to run the program for the first time. No server appears to have started (I get nothing at localhost:3000). The last line in the console after running bin/run.sh is info - socket.io started. The program appears to be hanging. Any help appreciated. I am on OSX Mavericks. My trace:

Donnys-MacBook-Pro-2:draw dwinston$ bin/run.sh
Ensure that all dependencies are up to date...

> canvas@1.1.3 install /Users/dwinston/draw/node_modules/canvas
> node-gyp rebuild

  CXX(target) Release/obj.target/canvas/src/Canvas.o
  CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
  CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
In file included from ../src/CanvasPattern.cc:10:
../src/CanvasPattern.h:24:9: warning: private field '_width' is not used
      [-Wunused-private-field]
    int _width, _height;
        ^
../src/CanvasPattern.h:24:17: warning: private field '_height' is not used
      [-Wunused-private-field]
    int _width, _height;
                ^
2 warnings generated.
  CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o
  CXX(target) Release/obj.target/canvas/src/color.o
  CXX(target) Release/obj.target/canvas/src/Image.o
  CXX(target) Release/obj.target/canvas/src/ImageData.o
  CXX(target) Release/obj.target/canvas/src/init.o
  CXX(target) Release/obj.target/canvas/src/PixelArray.o
  CXX(target) Release/obj.target/canvas/src/FontFace.o
In file included from ../src/FontFace.cc:7:
../src/FontFace.h:27:15: warning: private field '_ftFace' is not used
      [-Wunused-private-field]
    FT_Face   _ftFace;
              ^
1 warning generated.
  SOLINK_MODULE(target) Release/canvas.node
  SOLINK_MODULE(target) Release/canvas.node: Finished
canvas@1.1.3 node_modules/canvas
└── nan@0.4.4
start...
'Unknown Setting: 'title'. This setting doesn't exist or it was removed
'Unknown Setting: 'favicon'. This setting doesn't exist or it was removed
'Unknown Setting: 'defaultPadText'. This setting doesn't exist or it was removed
'Unknown Setting: 'requireSession'. This setting doesn't exist or it was removed
'Unknown Setting: 'editOnly'. This setting doesn't exist or it was removed
'Unknown Setting: 'minify'. This setting doesn't exist or it was removed
'Unknown Setting: 'maxAge'. This setting doesn't exist or it was removed
'Unknown Setting: 'abiword'. This setting doesn't exist or it was removed
'Unknown Setting: 'requireAuthentication'. This setting doesn't exist or it was removed
'Unknown Setting: 'requireAuthorization'. This setting doesn't exist or it was removed
'Unknown Setting: 'loglevel'. This setting doesn't exist or it was removed
DirtyDB is used. This is fine for testing but not recommended for production.
   info  - socket.io started
JohnMcLear commented 10 years ago

@dwinston I don't really have the resources to maintain this software right now..

It does look like it's starting tho but on port 9002 (looks like I moved port)..

http://127.0.0.1:9002

dwinston commented 10 years ago

Ah! It works for me on port 9002. Thanks!