JoelBesada / pasteboard

Clipboard and drag & drop image sharing web app
http://pasteboard.co
638 stars 145 forks source link

Error 500 | Server Error #12

Closed zQueal closed 11 years ago

zQueal commented 11 years ago

Error 500 upon first run:

[root@layer www]# ./run_local
Missing (optional) auth file: auth/amazon.js
Missing (optional) auth file: auth/bitly.js
Missing (optional) auth file: auth/google_analytics.js
Missing (optional) auth file: auth/hashing.js
Express server listening on port 4000
TypeError: Cannot read property 'development' of undefined
    at get.index (/var/www/html/controllers/main.coffee:38:93)
    at callbacks (/var/www/html/node_modules/express/lib/router/index.js:166:11)
    at param (/var/www/html/node_modules/express/lib/router/index.js:140:11)
    at pass (/var/www/html/node_modules/express/lib/router/index.js:147:5)
    at Router._dispatch (/var/www/html/node_modules/express/lib/router/index.js:174:5)
    at Object.router (/var/www/html/node_modules/express/lib/router/index.js:34:10)
    at next (/var/www/html/node_modules/express/node_modules/connect/lib/proto.js:190:15)
    at Object.methodOverride [as handle]     (/var/www/html/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:37:5)
    at next (/var/www/html/node_modules/express/node_modules/connect/lib/proto.js:190:15)
    at Object.cookieParser [as handle]     (/var/www/html/node_modules/express/node_modules/connect/lib/middleware/cookieParser.js:60:5)

GET / 500 8ms Capture

zQueal commented 11 years ago

Update

I'm still unable to get this to work, I've correctly installed all npm modules using:

npm install

as root.

I've tried on all three development branches: master, dev, and coffeescript-rewrite. No luck as of yet.