akdubya / dustjs

Asynchronous templates for the browser and node.js
http://akdubya.github.com/dustjs/
MIT License
1.44k stars 131 forks source link

Dust is not working in node v0.6 #43

Open snatesan opened 12 years ago

snatesan commented 12 years ago

Hi,

Just wanted to let you know that Dust is not working in the latest version of node. It throws the following exception

Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead. at Function. (module.js:376:11) at Object. (/Users/satheesh/NodeTraining/Express/node_modules/dust/lib/server.js:6: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 Object. (/Users/satheesh/NodeTraining/Express/node_modules/dust/lib/dust.js:511:7) at Module._compile (module.js:432:26)

Thanks!

stanpalatnik commented 12 years ago

Solved here: https://github.com/akdubya/dustjs/pull/39

vybs commented 12 years ago

Solved here too : https://github.com/linkedin/dustjs