{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5312","repository_url":"https://api.github.com/repos/pouchdb/pouchdb","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5312/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5312/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5312/events","html_url":"https://github.com/pouchdb/pouchdb/issues/5312","id":159145535,"number":5312,"title":"Webpack throws \"Uncaught Error: define cannot be used indirect\" after update from 5.3.2 to 5.4.0","user":{"login":"barbalex","id":669783,"avatar_url":"https://avatars.githubusercontent.com/u/669783?v=3","gravatar_id":"","url":"https://api.github.com/users/barbalex","html_url":"https://github.com/barbalex","followers_url":"https://api.github.com/users/barbalex/followers","following_url":"https://api.github.com/users/barbalex/following{/other_user}","gists_url":"https://api.github.com/users/barbalex/gists{/gist_id}","starred_url":"https://api.github.com/users/barbalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbalex/subscriptions","organizations_url":"https://api.github.com/users/barbalex/orgs","repos_url":"https://api.github.com/users/barbalex/repos","events_url":"https://api.github.com/users/barbalex/events{/privacy}","received_events_url":"https://api.github.com/users/barbalex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pouchdb/pouchdb/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/pouchdb/pouchdb/labels/help%20wanted","name":"help wanted","color":"02e10c"},{"url":"https://api.github.com/repos/pouchdb/pouchdb/labels/needs%20reproducing","name":"needs reproducing","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-06-08T11:55:18Z","updated_at":"2016-06-16T04:33:22Z","closed_at":null,"body":"### Environment (Node.js/browser/hybrid app/etc.)\r\n\r\nbrowser\r\n\r\n### Browser/platform (Chrome/FF/Safari/Edge/iOS/Android/etc.)\r\n\r\nchrome, newest\r\n\r\n### Adapter (IndexedDB/WebSQL/LevelDB/etc.)\r\n\r\nnot set\r\n\r\n### Server (CouchDB/Cloudant/Couchbase/PouchDB Server/etc.)\r\n\r\nCouchDB\r\n\r\n### Please describe your issue.\r\n\r\nUsing version 5.3.2 everything works.\r\nWhen I update to version 5.4.0 (and change nothing else) I get the mentioned error in the console and the page does not render.\r\nI believe this is thrown by webpack, see here: https://github.com/webpack/webpack/issues/138\r\n\r\nI am using:\r\n\r\n- Windows 10\r\n- node 6.2.1\r\n- webpack 1.13.1\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/226385973","html_url":"https://github.com/pouchdb/pouchdb/issues/5312#issuecomment-226385973","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5312","id":226385973,"user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T04:33:22Z","updated_at":"2016-06-16T04:33:22Z","body":"@jl- OK, that's helpful! In that case, could you please provide a small test case to reproduce? Note that I tried to reproduce above and failed; perhaps your project is using Webpack in some kind of special way, or you're using an older version of PouchDB, or...?"}}
{"actor":{"display_login":"nolanlawson"}}