{"action":"created","issue":{"url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/836","repository_url":"https://api.github.com/repos/mqttjs/MQTT.js","labels_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/836/labels{/name}","comments_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/836/comments","events_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/836/events","html_url":"https://github.com/mqttjs/MQTT.js/issues/836","id":338446509,"node_id":"MDU6SXNzdWUzMzg0NDY1MDk=","number":836,"title":"angular 6 cannot call the mqtt library","user":{"login":"miricy","id":2841879,"node_id":"MDQ6VXNlcjI4NDE4Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/2841879?v=4","gravatar_id":"","url":"https://api.github.com/users/miricy","html_url":"https://github.com/miricy","followers_url":"https://api.github.com/users/miricy/followers","following_url":"https://api.github.com/users/miricy/following{/other_user}","gists_url":"https://api.github.com/users/miricy/gists{/gist_id}","starred_url":"https://api.github.com/users/miricy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miricy/subscriptions","organizations_url":"https://api.github.com/users/miricy/orgs","repos_url":"https://api.github.com/users/miricy/repos","events_url":"https://api.github.com/users/miricy/events{/privacy}","received_events_url":"https://api.github.com/users/miricy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-05T06:51:10Z","updated_at":"2018-07-05T07:05:58Z","closed_at":null,"author_association":"NONE","body":"When I join the `mqtt.connect(url, options);`  function, \r\nwhether the code executes or not, it will report error.\r\n\r\n```\r\nUncaught ReferenceError: process is not defined\r\n    at Object../node_modules/process-nextick-args/index.js (index.js:3)\r\n    at __webpack_require__ (bootstrap:76)\r\n    at Object../node_modules/readable-stream/lib/_stream_readable.js (_stream_readable.js:26)\r\n    at __webpack_require__ (bootstrap:76)\r\n    at Object../node_modules/readable-stream/readable-browser.js (readable-browser.js:1)\r\n    at __webpack_require__ (bootstrap:76)\r\n    at Object../node_modules/mqtt/lib/store.js (store.js:8)\r\n    at __webpack_require__ (bootstrap:76)\r\n    at Object../node_modules/mqtt/lib/client.js (client.js:7)\r\n    at __webpack_require__ (bootstrap:76)\r\n\r\n```\r\n\r\nBut the same code， in angular 5 version no error"},"comment":{"url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/comments/402625719","html_url":"https://github.com/mqttjs/MQTT.js/issues/836#issuecomment-402625719","issue_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/836","id":402625719,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjYyNTcxOQ==","user":{"login":"miricy","id":2841879,"node_id":"MDQ6VXNlcjI4NDE4Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/2841879?v=4","gravatar_id":"","url":"https://api.github.com/users/miricy","html_url":"https://github.com/miricy","followers_url":"https://api.github.com/users/miricy/followers","following_url":"https://api.github.com/users/miricy/following{/other_user}","gists_url":"https://api.github.com/users/miricy/gists{/gist_id}","starred_url":"https://api.github.com/users/miricy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miricy/subscriptions","organizations_url":"https://api.github.com/users/miricy/orgs","repos_url":"https://api.github.com/users/miricy/repos","events_url":"https://api.github.com/users/miricy/events{/privacy}","received_events_url":"https://api.github.com/users/miricy/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T07:05:58Z","updated_at":"2018-07-05T07:05:58Z","author_association":"NONE","body":"thanks you very much，\r\nI will try it use the last lib."}}
{"actor":{"display_login":"miricy"}}