{"action":"closed","issue":{"url":"https://api.github.com/repos/rustwasm/wasm-pack/issues/710","repository_url":"https://api.github.com/repos/rustwasm/wasm-pack","labels_url":"https://api.github.com/repos/rustwasm/wasm-pack/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/rustwasm/wasm-pack/issues/710/comments","events_url":"https://api.github.com/repos/rustwasm/wasm-pack/issues/710/events","html_url":"https://github.com/rustwasm/wasm-pack/issues/710","id":488904255,"node_id":"MDU6SXNzdWU0ODg5MDQyNTU=","number":710,"title":"[Call for help] Uncaught TypeError: Cannot read property '<function name>' of undefined","user":{"login":"leonwanghui","id":24707117,"node_id":"MDQ6VXNlcjI0NzA3MTE3","avatar_url":"https://avatars0.githubusercontent.com/u/24707117?v=4","gravatar_id":"","url":"https://api.github.com/users/leonwanghui","html_url":"https://github.com/leonwanghui","followers_url":"https://api.github.com/users/leonwanghui/followers","following_url":"https://api.github.com/users/leonwanghui/following{/other_user}","gists_url":"https://api.github.com/users/leonwanghui/gists{/gist_id}","starred_url":"https://api.github.com/users/leonwanghui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonwanghui/subscriptions","organizations_url":"https://api.github.com/users/leonwanghui/orgs","repos_url":"https://api.github.com/users/leonwanghui/repos","events_url":"https://api.github.com/users/leonwanghui/events{/privacy}","received_events_url":"https://api.github.com/users/leonwanghui/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2019-09-04T02:17:15Z","updated_at":"2020-01-13T20:47:51Z","closed_at":"2020-01-13T20:47:51Z","author_association":"NONE","body":"## 🐛 Bug description\r\nRecently I'm working on generate javascript code from rust using `wasm-pack`, but it seems that something went wrong when I pack the js code with `webpack`, and the errors is shown below:\r\n```shell\r\nindex.js:84 Uncaught (in promise) TypeError: WebAssembly.instantiate(): Argument 0 must be a buffer source\r\n    at e (index.js:84)\r\n    at Object.<anonymous> (index.js:16)\r\n    at t (index.js:4)\r\n    at index.js:12\r\n    at index.js:13\r\n```\r\n\r\n#### 🤔 Expected Behavior\r\nRun well with no errors.\r\n\r\n#### 👟 Steps to reproduce\r\nClear steps describing how to reproduce the issue, including commands and flags run. If you are seeing an error, please include the full error message and stack trace.\r\n\r\n#### 🌍 Your environment\r\nInclude the relevant details of your environment.\r\nwasm-pack version: `0.8.1`\r\nrustc version: rustc 1.37.0 (eae3437df 2019-08-13)"}}
{"actor":{"display_login":"ashleygwilliams"}}