{"action":"created","issue":{"url":"https://api.github.com/repos/developit/preact/issues/686","repository_url":"https://api.github.com/repos/developit/preact","labels_url":"https://api.github.com/repos/developit/preact/issues/686/labels{/name}","comments_url":"https://api.github.com/repos/developit/preact/issues/686/comments","events_url":"https://api.github.com/repos/developit/preact/issues/686/events","html_url":"https://github.com/developit/preact/issues/686","id":225887926,"node_id":"MDU6SXNzdWUyMjU4ODc5MjY=","number":686,"title":"Uncaught TypeError: Super expression must either be null or a function, not undefined ","user":{"login":"zhuyinjing","id":25977997,"node_id":"MDQ6VXNlcjI1OTc3OTk3","avatar_url":"https://avatars0.githubusercontent.com/u/25977997?v=4","gravatar_id":"","url":"https://api.github.com/users/zhuyinjing","html_url":"https://github.com/zhuyinjing","followers_url":"https://api.github.com/users/zhuyinjing/followers","following_url":"https://api.github.com/users/zhuyinjing/following{/other_user}","gists_url":"https://api.github.com/users/zhuyinjing/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuyinjing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuyinjing/subscriptions","organizations_url":"https://api.github.com/users/zhuyinjing/orgs","repos_url":"https://api.github.com/users/zhuyinjing/repos","events_url":"https://api.github.com/users/zhuyinjing/events{/privacy}","received_events_url":"https://api.github.com/users/zhuyinjing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-03T05:33:19Z","updated_at":"2018-09-28T12:36:38Z","closed_at":"2017-06-27T12:36:11Z","author_association":"NONE","body":"hello,\r\nrecently,i use a plugin in my project.\r\nAnd this plugin depend on preact\r\nand when i import it to my project\r\nit shows error in chrome console,it shows `Uncaught TypeError: Super expression must either be null or a function, not undefined `\r\nand my project is using vue.js\r\nhow should i do?\r\nthanks a lot!!!"},"comment":{"url":"https://api.github.com/repos/developit/preact/issues/comments/425421835","html_url":"https://github.com/developit/preact/issues/686#issuecomment-425421835","issue_url":"https://api.github.com/repos/developit/preact/issues/686","id":425421835,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTQyMTgzNQ==","user":{"login":"rbenvenuto","id":19176241,"node_id":"MDQ6VXNlcjE5MTc2MjQx","avatar_url":"https://avatars1.githubusercontent.com/u/19176241?v=4","gravatar_id":"","url":"https://api.github.com/users/rbenvenuto","html_url":"https://github.com/rbenvenuto","followers_url":"https://api.github.com/users/rbenvenuto/followers","following_url":"https://api.github.com/users/rbenvenuto/following{/other_user}","gists_url":"https://api.github.com/users/rbenvenuto/gists{/gist_id}","starred_url":"https://api.github.com/users/rbenvenuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbenvenuto/subscriptions","organizations_url":"https://api.github.com/users/rbenvenuto/orgs","repos_url":"https://api.github.com/users/rbenvenuto/repos","events_url":"https://api.github.com/users/rbenvenuto/events{/privacy}","received_events_url":"https://api.github.com/users/rbenvenuto/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T12:36:38Z","updated_at":"2018-09-28T12:36:38Z","author_association":"NONE","body":"I faced the same issue with a package that depends on Preact.\r\n\r\n- checked my `node_modules, preact is installed\r\n- tried changing `import { Component } from 'preact'` to `import Preact from 'preact'` and doing `Preact.Component` where i needed\r\n- Tried erasing `node_modules` and yarn.lok and installing the dependencies again.\r\n- tried `console.log(Preact.Component)` and it prints `undefined`\r\n- I'm in a create-react-app application\r\n\r\nNone of this worked\r\nCan anyone help me?\r\n\r\nHere's my `package.json`\r\n\r\n`\"dependencies\": {\r\n    \"@private/package\": \"file:./path-to-private/package\", // this is the package that's giving me the bug\r\n    \"react\": \"^16.4.1\",\r\n    \"webpack\": \"3.8.1\",\r\n    ...\r\n}`\r\n"}}
{"actor":{"display_login":"rbenvenuto"}}