{"action":"opened","issue":{"url":"https://api.github.com/repos/vuejs/vue-loader/issues/414","repository_url":"https://api.github.com/repos/vuejs/vue-loader","labels_url":"https://api.github.com/repos/vuejs/vue-loader/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-loader/issues/414/comments","events_url":"https://api.github.com/repos/vuejs/vue-loader/issues/414/events","html_url":"https://github.com/vuejs/vue-loader/issues/414","id":183206677,"number":414,"title":"Empty template tag causes an error","user":{"login":"nblackburn","id":2931085,"avatar_url":"https://avatars.githubusercontent.com/u/2931085?v=3","gravatar_id":"","url":"https://api.github.com/users/nblackburn","html_url":"https://github.com/nblackburn","followers_url":"https://api.github.com/users/nblackburn/followers","following_url":"https://api.github.com/users/nblackburn/following{/other_user}","gists_url":"https://api.github.com/users/nblackburn/gists{/gist_id}","starred_url":"https://api.github.com/users/nblackburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nblackburn/subscriptions","organizations_url":"https://api.github.com/users/nblackburn/orgs","repos_url":"https://api.github.com/users/nblackburn/repos","events_url":"https://api.github.com/users/nblackburn/events{/privacy}","received_events_url":"https://api.github.com/users/nblackburn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-15T12:16:29Z","updated_at":"2016-10-15T12:16:29Z","closed_at":null,"body":"I have a view that is is rendered inside a popup window to deal with oauth callbacks but because this view doesn't have the need to display anything, i have not put anything within the template tag.\r\n\r\nThis causes the following error...\r\n\r\n```bash\r\nERROR in ./app/views/oauth/callback.vue\r\nModule build failed: TypeError: Cannot read property '__location' of undefined\r\n    at node_modules\\vue-loader\\lib\\parser.js:99:35\r\n    at Array.forEach (native)\r\n    at module.exports (node_modules\\vue-loader\\lib\\parser.js:38:23)\r\n    at Object.module.exports (node_modules\\vue-loader\\lib\\loader.js:168:15)\r\n @ ./app/config/routes.js 12:0-48\r\n @ ./app/initialize.js\r\n```\r\n\r\nRemoving the tag entirely works but feel a check needs to go in place to prevent such errors."}}
{"actor":{"display_login":"nblackburn"}}