akdubya / dustjs

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

require.paths is removed #47

Closed TheCodeBuccaneer closed 12 years ago

TheCodeBuccaneer commented 12 years ago

When I try to include dust using dust = require('dust'), I get the following messageL

Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.

How can I solve this error?

I am using version 0.6.7 of Node and the platform is Windows.

TheCodeBuccaneer commented 12 years ago

I saw this was already solved, sorry for that.

hallettj commented 12 years ago

How was this solved? I am having the same problem.

wendelicious commented 12 years ago

When I npm install node, I get version 0.3.0, which seems to still have this issue. How can I get version 0.6.0 ?