View gist:052cfc75077bb4e77095
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)