{"action":"created","issue":{"url":"https://api.github.com/repos/MiEcosystem/miot-plugin-sdk/issues/53","repository_url":"https://api.github.com/repos/MiEcosystem/miot-plugin-sdk","labels_url":"https://api.github.com/repos/MiEcosystem/miot-plugin-sdk/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/MiEcosystem/miot-plugin-sdk/issues/53/comments","events_url":"https://api.github.com/repos/MiEcosystem/miot-plugin-sdk/issues/53/events","html_url":"https://github.com/MiEcosystem/miot-plugin-sdk/issues/53","id":384150938,"node_id":"MDU6SXNzdWUzODQxNTA5Mzg=","number":53,"title":"插件入口","user":{"login":"kasparovfeng","id":13309478,"node_id":"MDQ6VXNlcjEzMzA5NDc4","avatar_url":"https://avatars0.githubusercontent.com/u/13309478?v=4","gravatar_id":"","url":"https://api.github.com/users/kasparovfeng","html_url":"https://github.com/kasparovfeng","followers_url":"https://api.github.com/users/kasparovfeng/followers","following_url":"https://api.github.com/users/kasparovfeng/following{/other_user}","gists_url":"https://api.github.com/users/kasparovfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/kasparovfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasparovfeng/subscriptions","organizations_url":"https://api.github.com/users/kasparovfeng/orgs","repos_url":"https://api.github.com/users/kasparovfeng/repos","events_url":"https://api.github.com/users/kasparovfeng/events{/privacy}","received_events_url":"https://api.github.com/users/kasparovfeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-26T02:26:25Z","updated_at":"2018-11-26T02:30:24Z","closed_at":null,"author_association":"NONE","body":"刚进去 就报错 bundling failed: TypeError: Cannot read property 'bindings' of null  这个啥意思啊  \r\n\r\nimport React from 'react';\r\n    import {Package,Device,Service,Host} from 'miot';\r\n    import {PackageEvent, DeviceEvent} from 'miot';\r\n    import App from './Home.js';\r\n    import {Entrance} from \"../../miot-sdk\";\r\n\r\n    switch(Package.entrance){\r\n        case Entrance.Main:\r\n            Package.entry(App, _=>{\r\n                //do something when the App is ready but not loaded\r\n            })\r\n            break;\r\n        default:\r\n            break;\r\n    }\r\n\r\nexport default class App extends React.Component {\r\n    render(){\r\n        return <View>\r\n            <Text>device model is : 23232</Text>\r\n        </View>\r\n    }\r\n}\r\n不知道什么鬼，我啥也没开始写"},"comment":{"url":"https://api.github.com/repos/MiEcosystem/miot-plugin-sdk/issues/comments/441501119","html_url":"https://github.com/MiEcosystem/miot-plugin-sdk/issues/53#issuecomment-441501119","issue_url":"https://api.github.com/repos/MiEcosystem/miot-plugin-sdk/issues/53","id":441501119,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTUwMTExOQ==","user":{"login":"kasparovfeng","id":13309478,"node_id":"MDQ6VXNlcjEzMzA5NDc4","avatar_url":"https://avatars0.githubusercontent.com/u/13309478?v=4","gravatar_id":"","url":"https://api.github.com/users/kasparovfeng","html_url":"https://github.com/kasparovfeng","followers_url":"https://api.github.com/users/kasparovfeng/followers","following_url":"https://api.github.com/users/kasparovfeng/following{/other_user}","gists_url":"https://api.github.com/users/kasparovfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/kasparovfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasparovfeng/subscriptions","organizations_url":"https://api.github.com/users/kasparovfeng/orgs","repos_url":"https://api.github.com/users/kasparovfeng/repos","events_url":"https://api.github.com/users/kasparovfeng/events{/privacy}","received_events_url":"https://api.github.com/users/kasparovfeng/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T02:30:24Z","updated_at":"2018-11-26T02:30:24Z","author_association":"NONE","body":"那个return 是对的，复制代码不知道咋没了text组建"}}
{"actor":{"display_login":"kasparovfeng"}}