cozy / cozy-proxy

This repository was part of CozyV2 which has been deprecated - Cozy authentication and routing layer
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
26 stars 31 forks source link

Server error: TypeError: object is not a function #227

Closed clochix closed 8 years ago

clochix commented 8 years ago
error - app:error | TypeError: object is not a function
    at View.config.common.engine.js [as engine] (/usr/local/cozy/apps/proxy/build/server/config.js:48:44)
    at View.render (/usr/local/cozy/apps/proxy/node_modules/americano/node_modules/express/lib/view.js:76:8)
    at Function.app.render (/usr/local/cozy/apps/proxy/node_modules/americano/node_modules/express/lib/application.js:521:10)
    at ServerResponse.res.render (/usr/local/cozy/apps/proxy/node_modules/americano/node_modules/express/lib/response.js:818:7)
    at /usr/local/cozy/apps/proxy/build/server/controllers/authentication.js:128:18
    at /usr/local/cozy/apps/proxy/build/server/controllers/authentication.js:39:12
    at /usr/local/cozy/apps/proxy/build/server/models/user.js:91:12
    at /usr/local/cozy/apps/proxy/build/server/models/user.js:72:14
    at /usr/local/cozy/apps/proxy/node_modules/americano-cozy/node_modules/jugglingdb-cozy-adapter/lib/cozy_data_system.js:413:18
    at parseBody (/usr/local/cozy/apps/proxy/node_modules/americano-cozy/node_modules/jugglingdb-cozy-adapter/node_modules/request-json/main.js:26:12)
nono commented 8 years ago

It was probably a build error where locales were missing. I think we can close this issue.

frankrousseau commented 8 years ago

@clochix Repoen it if someone complains again.