apla / dataflo.ws

workflow processing for javascript
107 stars 21 forks source link

Error: Cannot find module 'ejs' #15

Closed tk120404 closed 11 years ago

tk120404 commented 11 years ago

Getting following error on running the example

2013-03-05 14:34:56 [089515] workflow complete in 1085ms

module.js:340 throw err; ^ Error: Cannot find module 'ejs' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at util.extend.renderCompile (/usr/local/lib/node_modules/dataflo.ws/task/presenter.js:131:30) at util.extend.readTemplate (/usr/local/lib/node_modules/dataflo.ws/task/presenter.js:36:7) at io.readFile (/usr/local/lib/node_modules/dataflo.ws/io/easy.js:103:6) at fs.readFile (fs.js:176:14) at Object.oncomplete (fs.js:297:15)

katspaugh commented 11 years ago

Hi Arjunkumar,

Thanks for your report!

We now display a warning about ejs if it's not installed when running the example: d33f7206e7a42bbbb79e46997e2cb838ca12be6b