blog Error: Invalid cache option true found
sabrinaluo opened this issue · comments
HiiTea commented
Hi,
I cloned the whole repo and ran npm install
, then nav into blog/ ran 'node index.js', and got this error. Can you help with it? thank you. 😄
I'm using node v5.4.0 and linuxmint 3.16.0-38-generic.
Error: Invalid cache option true found. Expected "memory" or { get: function (key) { ... }, set: function (key, value) { ... } }.
at validateOptions (/home/sabrina/sa/koa-examples/node_modules/swig/lib/swig.js:113:15)
Weibo Chen commented
@sabrinaluo
Actually swig is not maintained anymore.
I try to reproduce this problem.
When I ran command NODE_ENV=test node app.js
then it happens.
I also try consolidate but it didn't happened.
I think this problem probably is between co-views
or co-render
I will dig into it.