Hi,

I use swig in my node app, and I know swig uses underscore, do i have
to npm install underscore, or just use the one being used by swig?

i tried to copy the code in swig:

var _ = require('underscore')

but it says:


node.js:201
        throw e; // process.nextTick error, or 'error' event on first
tick
              ^
Error: Cannot find module 'underscore'

?

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to