1602/express-on-railway — Issue #66: Error: require.paths is removed.
Author: Tuxie
Created: 2011-11-08 11:20:30+00:00
State: open

I'm a long time Rails developer (since v0.6 or so) and decided to expand my views and try RailwayJS for my next project. I use OSX and installed node with Homebrew (brew install node), npm and then railway. However, it doesn't seem to work:

```
[~/Code/js/express-on-railway] railway
The "sys" module is now called "util". It should have a similar interface.

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function. (module.js:376:11)
at Object. (/usr/local/lib/node_modules/railway/lib/extensions.js:4:8)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at new Railway (/usr/local/lib/node_modules/railway/lib/onrailway.js:20:24)
at Object.init (/usr/local/lib/node_modules/railway/lib/onrailway.js:43:5)
```

I tried the git version as well, including the develop branch. Same thing.
The node version is 0.6.0.