1602/express-on-railway — Issue #61: SyntaxError: Unexpected string - When using generators with redis.
Author: Jud
Created: 2011-10-30 23:44:55+00:00
State: open

I stumbled across railwayjs and wanted to make a quick proof of concept app but it seems like something (maybe the coffee script generation?) is not working quite right. I issued the following commands:

rw init incoming.io --coffee --tpl jade --db redis
rw g crud user email password
rw s 3000

and it threw this error:

SyntaxError: Unexpected string
at Object.init (/usr/local/lib/node_modules/railway/lib/models.js:177:17)
at Array. (/usr/local/lib/node_modules/railway/lib/onrailway.js:71:24)
at EventEmitter._tickCallback (node.js:126:26)

Im on OSX lion with node 0.4.11.