{"action":"opened","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5129","repository_url":"https://api.github.com/repos/pouchdb/pouchdb","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5129/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5129/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5129/events","html_url":"https://github.com/pouchdb/pouchdb/issues/5129","id":153130777,"number":5129,"title":"node leveldb pouch instance complains on changes","user":{"login":"cdaringe","id":1003261,"avatar_url":"https://avatars.githubusercontent.com/u/1003261?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaringe","html_url":"https://github.com/cdaringe","followers_url":"https://api.github.com/users/cdaringe/followers","following_url":"https://api.github.com/users/cdaringe/following{/other_user}","gists_url":"https://api.github.com/users/cdaringe/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaringe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaringe/subscriptions","organizations_url":"https://api.github.com/users/cdaringe/orgs","repos_url":"https://api.github.com/users/cdaringe/repos","events_url":"https://api.github.com/users/cdaringe/events{/privacy}","received_events_url":"https://api.github.com/users/cdaringe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T22:37:03Z","updated_at":"2016-05-04T22:37:03Z","closed_at":null,"body":"```js\r\ntest('changes', (t) => {\r\n  var p = new PouchDB(path.join(__dirname, './.test-db-dir/changesdb'))\r\n  t.plan(1)\r\n  p.changes().on('changed', (info) => {\r\n    t.pass('info passed')\r\n    t.end()\r\n  })\r\n  p.put({ _id: '123', dummy: 1 })\r\n})\r\n```\r\n\r\n```\r\n    var changeStream = stores.bySeqStore.readStream(streamOpts);\r\n                                        ^\r\n\r\nTypeError: Cannot read property 'readStream' of undefined\r\n    at PouchDB.LevelPouch.api._changes (/Users/cdieringer/node/pouchy/node_modules/pouchdb/lib/index.js:7928:41)\r\n    at Changes.doChanges (/Users/cdieringer/node/pouchy/node_modules/pouchdb/lib/index.js:843:28)\r\n    at /Users/cdieringer/node/pouchy/node_modules/pouchdb/lib/index.js:745:14\r\n    at TaskQueue.execute (/Users/cdieringer/node/pouchy/node_modules/pouchdb/lib/index.js:2210:7)\r\n    at TaskQueue.fail (/Users/cdieringer/node/pouchy/node_modules/pouchdb/lib/index.js:2221:8)\r\n    at /Users/cdieringer/node/pouchy/node_modules/pouchdb/lib/index.js:2382:24\r\n    at /Users/cdieringer/node/pouchy/node_modules/pouchdb/lib/index.js:7086:16\r\n    at dispatchError (/Users/cdieringer/node/pouchy/node_modules/pouchdb/node_modules/levelup/lib/util.js:64:35)\r\n    at /Users/cdieringer/node/pouchy/node_modules/pouchdb/node_modules/levelup/lib/levelup.js:119:14\r\n    at /Users/cdieringer/node/pouchy/node_modules/pouchdb/node_modules/leveldown/node_modules/abstract-leveldown/abstract-leveldown.js:39:16\r\n```\r\n\r\nref: https://github.com/cdaringe/pouchy/blob/master/test/index.js#L389\r\n\r\nwill look into more late, but figured y'all may have a hint-skie"}}