viatropos/tower — Issue #9: Coffee-script dependency issue?
Author: mcmullins
Created: 2012-02-28 11:09:11+00:00
State: open

I ran into this issue the first time I ran server.js

```
mcmullins@ubuntu:~/sites/todo$ node server.js

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:378:11)
at Object. (/home/mcmullins/.node_libraries/coffee-script@1.2.0/index.js:4:21)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/home/mcmullins/sites/todo/server.js:1:63)
at Module._compile (module.js:441:26)
```

it was fixed by running a fresh install of coffee-script.

```
mcmullins@ubuntu:~/sites/todo$ npm install coffee-script
```

Maybe an issue with how a previous version of npm installed it? Probably isn't your fault, but I thought I would let you know in case anyone else runs into this problem.

Thanks for all the help! Trying it out now, It's looking great!