{"action":"created","issue":{"url":"https://api.github.com/repos/Haixing-Hu/vue-datetime-picker/issues/10","repository_url":"https://api.github.com/repos/Haixing-Hu/vue-datetime-picker","labels_url":"https://api.github.com/repos/Haixing-Hu/vue-datetime-picker/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Haixing-Hu/vue-datetime-picker/issues/10/comments","events_url":"https://api.github.com/repos/Haixing-Hu/vue-datetime-picker/issues/10/events","html_url":"https://github.com/Haixing-Hu/vue-datetime-picker/pull/10","id":159129941,"number":10,"title":"main field in package.json should be string, not array","user":{"login":"amoe","id":883725,"avatar_url":"https://avatars.githubusercontent.com/u/883725?v=3","gravatar_id":"","url":"https://api.github.com/users/amoe","html_url":"https://github.com/amoe","followers_url":"https://api.github.com/users/amoe/followers","following_url":"https://api.github.com/users/amoe/following{/other_user}","gists_url":"https://api.github.com/users/amoe/gists{/gist_id}","starred_url":"https://api.github.com/users/amoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amoe/subscriptions","organizations_url":"https://api.github.com/users/amoe/orgs","repos_url":"https://api.github.com/users/amoe/repos","events_url":"https://api.github.com/users/amoe/events{/privacy}","received_events_url":"https://api.github.com/users/amoe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-08T10:24:37Z","updated_at":"2016-06-12T17:40:39Z","closed_at":"2016-06-12T17:40:39Z","pull_request":{"url":"https://api.github.com/repos/Haixing-Hu/vue-datetime-picker/pulls/10","html_url":"https://github.com/Haixing-Hu/vue-datetime-picker/pull/10","diff_url":"https://github.com/Haixing-Hu/vue-datetime-picker/pull/10.diff","patch_url":"https://github.com/Haixing-Hu/vue-datetime-picker/pull/10.patch"},"body":"When `vue-datetime-picker` has been installed using npm, webpack cannot load the module using the provided syntax, `require(\"vue-datetime-picker\")`.  Webpack produces the following error:\r\n\r\n    ERROR in ./~/babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./components/FooPage.vue\r\n    Module not found: Error: Cannot resolve module 'vue-datetime-picker' in /home/amoe/werk/customer-cms/demo/vue-webpack-demo/components\r\n     @ ./~/babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/vue-loader/lib/selector.js?type=script&index=0!./components/FooPage.vue 8:31-61\r\n\r\nThis change fixes this error."},"comment":{"url":"https://api.github.com/repos/Haixing-Hu/vue-datetime-picker/issues/comments/225450221","html_url":"https://github.com/Haixing-Hu/vue-datetime-picker/pull/10#issuecomment-225450221","issue_url":"https://api.github.com/repos/Haixing-Hu/vue-datetime-picker/issues/10","id":225450221,"user":{"login":"Haixing-Hu","id":802093,"avatar_url":"https://avatars.githubusercontent.com/u/802093?v=3","gravatar_id":"","url":"https://api.github.com/users/Haixing-Hu","html_url":"https://github.com/Haixing-Hu","followers_url":"https://api.github.com/users/Haixing-Hu/followers","following_url":"https://api.github.com/users/Haixing-Hu/following{/other_user}","gists_url":"https://api.github.com/users/Haixing-Hu/gists{/gist_id}","starred_url":"https://api.github.com/users/Haixing-Hu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haixing-Hu/subscriptions","organizations_url":"https://api.github.com/users/Haixing-Hu/orgs","repos_url":"https://api.github.com/users/Haixing-Hu/repos","events_url":"https://api.github.com/users/Haixing-Hu/events{/privacy}","received_events_url":"https://api.github.com/users/Haixing-Hu/received_events","type":"User","site_admin":false},"created_at":"2016-06-12T17:40:39Z","updated_at":"2016-06-12T17:40:39Z","body":"Fixed"}}
{"actor":{"display_login":"Haixing-Hu"}}