TZM / tzm-blade

ZMGC Application empowers members with on-line tools, by providing a free infrastructure to easily exchange, analyse and disseminate information in a scalable, non-blocking manner using only Open Source software build by the community for the community. It is about building lasting and deep solidarity versus cheap and fast Facebook or Twitter campaigns
www.zmgc.net
GNU General Public License v3.0
4 stars 8 forks source link

TypeError: Cannot read property '_csrf' of undefined #34

Closed nkhine closed 11 years ago

nkhine commented 11 years ago

Remove the node-modules folder and run

npm install

produces this traceback after running the application on AppFog and Heroku

TypeError: Cannot read property '_csrf' of undefined
    at Object.module.exports [as handle] (/mnt/var/vcap.local/dea/apps/blade-0-b819bc5a329523c0def7cb46f0f29a65/app/node_modules/express/node_modules/connect/lib/middleware/csrf.js:45:28)
    at next (/mnt/var/vcap.local/dea/apps/blade-0-b819bc5a329523c0def7cb46f0f29a65/app/node_modules/express/node_modules/connect/lib/proto.js:190:15)
    at Object.handle (/mnt/var/vcap.local/dea/apps/blade-0-b819bc5a329523c0def7cb46f0f29a65/app/node_modules/blade/lib/blade.js:200:8)
    at next (/mnt/var/vcap.local/dea/apps/blade-0-b819bc5a329523c0def7cb46f0f29a65/app/node_modules/express/node_modules/connect/lib/proto.js:190:15)
    at i18n.handle (/mnt/var/vcap.local/dea/apps/blade-0-b819bc5a329523c0def7cb46f0f29a65/app/node_modules/i18next/lib/i18next.js:108:13)
    at lngs (/mnt/var/vcap.local/dea/apps/blade-0-b819bc5a329523c0def7cb46f0f29a65/app/node_modules/i18next/lib/dep/i18next-1.5.10.js:580:21)
    at i18n.functions.extend.load (/mnt/var/vcap.local/dea/apps/blade-0-b819bc5a329523c0def7cb46f0f29a65/app/node_modules/i18next/lib/i18nextWrapper.js:195:21)
    at i18n.functions.extend.fetch (/mnt/var/vcap.local/dea/apps/blade-0-b819bc5a329523c0def7cb46f0f29a65/app/node_modules/i18next/lib/i18nextWrapper.js:229:29)
    at module.exports.fetchOne (/mnt/var/vcap.local/dea/apps/blade-0-b819bc5a329523c0def7cb46f0f29a65/app/node_modules/i18next/lib/filesync.js:20:17)
    at fs.readFile (fs.js:176:14)
    at Object.oncomplete (fs.js:297:15)