a bit more than a blank page on load #173

Closed
chauffer opened this Issue Oct 11, 2012 · 7 comments

Comments

Projects
None yet
3 participants

I've installed mongo, node.js, npm, all the dependencies by npm
I created the database in mongodb "subway", but didn't really add anything in it.
All I see is this: http://gyazo.com/ee581b48e1441c77ffc3a872236e6801 - which appears after a fraction of second of showing what should be the main page.

Collaborator

utatti commented Oct 12, 2012

Hello,
Could you please let me know which os and version of browser you use.
I've seen that kind of problem in IE, but it worked well in Chrome.
http://chauffer.freebnc.net:3000/ seems not to work now, so i don't know exactly what the problem is.
thanks

regards,
noraesae

I'm using Chromium 22.0.1229.79 (158531) on Arch Linux, the exact thing happened on Firefox 15.0.1 (still Linux)
Subway should be running now.

Thanks.

Collaborator

utatti commented Oct 12, 2012

I checked the link and it doesn't work on my pc too(chrome).
I think there's a problem with server-side.
It doesn't provide images and socket.io socket properly.
There may be a problem on node.js itself or a module.
I re-installed the subway the way below and it works well(on ubuntu 12.04). Could you please re-install subway?(re-installing nodejs itself can be helpful i think)

# git clone git://github.com/thedjpetersen/subway.git
# cd subway
# npm install
# node subway

thanks!

Regards,
noraesae

I redownloaded subway, installed the modules (except manually, because some of them gave errors and installed with the --nodedir parameter), running it still does the same thing

# ls node_modules/
active-x-obfuscator connect-file-cache iconv mongoose socket.io bcrypt express irc prototype uglify-js connect hooks jade qs underscore connect-assets http mongodb snockets

edit: since I'm doing this on a new server, I'll reinstall ubuntu 12.04 (running 10.04 now) and try again
I'll let you know

Fresh install of Ubuntu 12.04, installed build-essential, curl, mongodb, git, ssl and ssllibs
Installed node.js and npm again, cloned subway and issued npm install --nodedir=/root/node/ - all modules correctly installed.
I run it, and it's still the same.
Here's what happens: (also a find for the path files)
http://pastebin.com/jRRTap0n

Collaborator

utatti commented Oct 12, 2012

Hmm... the only difference is "--nodedir=/root/node/" and I don't know why this argument needed.
How did you install the node? From source?
What version of node did you use?
I installed node 0.8.9 through

# sudo apt-get install nodejs

If possible, please re-install nodejs with apt-get and try again without "--nodedir=..."

Thank you.

Regards,
noraesae

Owner

thedjpetersen commented Oct 12, 2012

It might be valuable to look at the subway charm as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment