{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/6438","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/6438/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/6438/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/6438/events","html_url":"https://github.com/webpack/webpack/issues/6438","id":294003681,"number":6438,"title":"Uncaught TypeError: Cannot convert undefined or null to object","user":{"login":"JustinBeckwith","id":534619,"avatar_url":"https://avatars2.githubusercontent.com/u/534619?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinBeckwith","html_url":"https://github.com/JustinBeckwith","followers_url":"https://api.github.com/users/JustinBeckwith/followers","following_url":"https://api.github.com/users/JustinBeckwith/following{/other_user}","gists_url":"https://api.github.com/users/JustinBeckwith/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinBeckwith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinBeckwith/subscriptions","organizations_url":"https://api.github.com/users/JustinBeckwith/orgs","repos_url":"https://api.github.com/users/JustinBeckwith/repos","events_url":"https://api.github.com/users/JustinBeckwith/events{/privacy}","received_events_url":"https://api.github.com/users/JustinBeckwith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-02T19:51:43Z","updated_at":"2018-02-07T16:48:25Z","closed_at":null,"author_association":"NONE","body":"<!-- Please don't delete this template or we'll close your issue -->\r\n<!-- Before creating an issue please make sure you are using the latest version of webpack. -->\r\n<!-- Also consider trying the webpack@beta version, maybe it's already fixed. -->\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\n\r\nBug\r\n\r\n<!-- Please ask questions on StackOverflow or the webpack Gitter (https://gitter.im/webpack/webpack). -->\r\n<!-- Issues which contain questions or support requests will be closed. -->\r\n\r\n**What is the current behavior?**\r\n\r\nAfter building a bundle with the `google-auth-library` npm module, I am getting a runtime error in the generated JavaScript:\r\n\r\n```\r\nbundle.js:sourcemap:56630 Uncaught TypeError: Cannot convert undefined or null to object\r\n    at Function.getPrototypeOf (<anonymous>)\r\n    at module.exports (bundle.js:sourcemap:56630)\r\n    at Object.<anonymous> (bundle.js:sourcemap:53185)\r\n    at __webpack_require__ (bundle.js:sourcemap:20)\r\n    at Object.defineProperty.value (bundle.js:sourcemap:52966)\r\n    at __webpack_require__ (bundle.js:sourcemap:20)\r\n    at Object.<anonymous> (bundle.js:sourcemap:29904)\r\n    at __webpack_require__ (bundle.js:sourcemap:20)\r\n    at Object.<anonymous> (bundle.js:sourcemap:40911)\r\n    at Object.exports.endianness (bundle.js:sourcemap:41541)\r\n```\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n\r\nI put the relevant sources here (they're pretty simple):\r\nhttps://gist.github.com/JustinBeckwith/c48bc7aeb4c0d751688470555d6f6ce3\r\n\r\nGrab those (replace `-slash-` with a `/`), and run:\r\n`npm run webpack`\r\n\r\nAnd open the browser:\r\n`open dist/index.html`\r\n\r\n\r\n<!-- A great way to do this is to provide your configuration via a GitHub gist. -->\r\n<!-- Best provide a minimal reproduceable repo -->\r\n<!-- If your issue is caused by a plugin or loader file the issue on the plugin/loader repo -->\r\n\r\n**What is the expected behavior?**\r\n\r\nI would expect to not get a runtime error :)\r\n\r\n**If this is a feature request, what is motivation or use case for changing the behavior?**\r\n\r\n**Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.**\r\n\r\nUsing node.js v8.9,3, Webpack ^3.10.0.\r\n"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/363832620","html_url":"https://github.com/webpack/webpack/issues/6438#issuecomment-363832620","issue_url":"https://api.github.com/repos/webpack/webpack/issues/6438","id":363832620,"user":{"login":"axelnyffenegger","id":28303041,"avatar_url":"https://avatars0.githubusercontent.com/u/28303041?v=4","gravatar_id":"","url":"https://api.github.com/users/axelnyffenegger","html_url":"https://github.com/axelnyffenegger","followers_url":"https://api.github.com/users/axelnyffenegger/followers","following_url":"https://api.github.com/users/axelnyffenegger/following{/other_user}","gists_url":"https://api.github.com/users/axelnyffenegger/gists{/gist_id}","starred_url":"https://api.github.com/users/axelnyffenegger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axelnyffenegger/subscriptions","organizations_url":"https://api.github.com/users/axelnyffenegger/orgs","repos_url":"https://api.github.com/users/axelnyffenegger/repos","events_url":"https://api.github.com/users/axelnyffenegger/events{/privacy}","received_events_url":"https://api.github.com/users/axelnyffenegger/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T16:48:25Z","updated_at":"2018-02-07T16:48:25Z","author_association":"NONE","body":"Hello,\r\nThis doesn't look like it has anything to do with webpack.\r\nThe library you're using targets nodejs and doesn't seem to support the browser.\r\n"}}
{"actor":{"display_login":"axelnyffenegger"}}