Skip to content

Instantly share code, notes, and snippets.

View denis-sokolov's full-sized avatar

Denis Sokolov denis-sokolov

View GitHub Profile
@denis-sokolov
denis-sokolov / gist:052cfc75077bb4e77095
Created April 6, 2015 06:43
pouchdb promise-emitter error
TypeError: Object [object Promise] has no method 'on'
at changes (.../node_modules/pouchdb-server/node_modules/express-pouchdb/lib/routes/changes.js:56:35)
at Layer.handle [as handle_request] (.../node_modules/pouchdb-server/node_modules/express/lib/router/layer.js:82:5)
at next (.../node_modules/pouchdb-server/node_modules/express/lib/router/route.js:100:13)
at Route.dispatch (.../node_modules/pouchdb-server/node_modules/express/lib/router/route.js:81:3)
at Layer.handle [as handle_request] (.../node_modules/pouchdb-server/node_modules/express/lib/router/layer.js:82:5)
at .../node_modules/pouchdb-server/node_modules/express/lib/router/index.js:235:24
at param (.../node_modules/pouchdb-server/node_modules/express/lib/router/index.js:332:14)
at param (.../node_modules/pouchdb-server/node_modules/express/lib/router/index.js:348:14)
at Function.proto.process_params (.../node_modules/pouchdb-server/node_modules/express/lib/router/index.js:392:3)