Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

ReferenceError: next is not defined #252

Open
clochix opened this issue Mar 8, 2016 · 0 comments
Open

ReferenceError: next is not defined #252

clochix opened this issue Mar 8, 2016 · 0 comments
Labels

Comments

@clochix
Copy link
Contributor

clochix commented Mar 8, 2016

Error in resetRoutes method with Proxy 2.5.0

error - lib:router | Cannot retrieve applications list.
error - lib:router | [Error: Parsing error : Unexpected token I, body= 
 Internal Server Error]
next is not defined
ReferenceError: next is not defined
    at /usr/local/cozy/apps/proxy/build/server/controllers/index.js:25:14
    at /usr/local/cozy/apps/proxy/build/server/lib/router.js:47:18
    at parseBody (/usr/local/cozy/apps/proxy/node_modules/request-json/main.js:35:12)
    at Request._callback (/usr/local/cozy/apps/proxy/node_modules/request-json/main.js:77:18)
    at Request.self.callback (/usr/local/cozy/apps/proxy/node_modules/request-json/node_modules/request/request.js:121:22)
    at Request.emit (events.js:98:17)
    at Request.<anonymous> (/usr/local/cozy/apps/proxy/node_modules/request-json/node_modules/request/request.js:978:14)
    at Request.emit (events.js:117:20)
    at IncomingMessage.<anonymous> (/usr/local/cozy/apps/proxy/node_modules/request-json/node_modules/request/request.js:929:12)
    at IncomingMessage.emit (events.js:117:20)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants