Yeti problem - can't find module 'jade'

Uffo picture Uffo · Aug 31, 2010 · Viewed 8.2k times · Source

I've just installed Yeti from Yahoo, but when I go to http://localhost:8000/ I get this:

Error: Cannot find module 'jade'
at loadModule (node.js:289:15)
at require (node.js:420:14)
at ServerResponse.render (/usr/local/lib/node/.npm/yeti/0.1.0/dependencies/express/view.js:258:46)
at Object.<anonymous> (/usr/local/lib/node/.npm/yeti/0.1.0/package/lib/server.js:28:13)
at pass (/usr/local/lib/node/.npm/yeti/0.1.0/dependencies/connect/middleware/router.js:67:31)
at /usr/local/lib/node/.npm/yeti/0.1.0/dependencies/connect/middleware/router.js:80:14
at EventEmitter._tickCallback (node.js:50:25)
at node.js:773:9

I also want to mention that i have installed this using the installer package from Yahoo! http://yuilibrary.com/downloads/download.php?file=3716057163a82b4b00c2a00ab0bb186e

Is there a fix for this?

Answer

ryantm picture ryantm · Jun 23, 2011

I had this problem using the "Express" framework and I solved it by typing npm install -d in directory where my app was created.