JohnMcLear / draw

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

Cannot read property '1' of null #244

Closed politoxela closed 8 years ago

politoxela commented 8 years ago

Recently clone the project when running bin / run.sh and enter http: // localhost: 9002 / console returns me the error Can not read property '1' of null which makes reference to me // Initialise Socket.io base_path var = /(\/.+\/)d\/.*/.exec(window.location.pathname)[1]; in draw.js I only window appears with all the options but I can not do anything.

JohnMcLear commented 8 years ago

I have a feeling this is user error, please try to reinstall

politoxela commented 8 years ago

I went back to install it and gave me the same error, I solved taking draw.js they have in the demo.

JohnMcLear commented 8 years ago

Please close if solved

On 10 Jun 2016 22:33, politoxela notifications@github.com wrote:

I went back to install it and gave me the same error, I solved taking draw.js they have in the demo.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/JohnMcLear/draw/issues/244#issuecomment-225198719, or mute the threadhttps://github.com/notifications/unsubscribe/AANewBeJ0cHMB_MQs3Kzjscp4zm5DBOzks5qKXXLgaJpZM4IyU97.