{"action":"created","issue":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/3929","repository_url":"https://api.github.com/repos/nuxt/nuxt.js","labels_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/3929/labels{/name}","comments_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/3929/comments","events_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/3929/events","html_url":"https://github.com/nuxt/nuxt.js/issues/3929","id":362436246,"node_id":"MDU6SXNzdWUzNjI0MzYyNDY=","number":3929,"title":"Webpack can not use the correct loader's version, if occurs that the loaders have conflict version.","user":{"login":"QS20199","id":7935557,"node_id":"MDQ6VXNlcjc5MzU1NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/7935557?v=4","gravatar_id":"","url":"https://api.github.com/users/QS20199","html_url":"https://github.com/QS20199","followers_url":"https://api.github.com/users/QS20199/followers","following_url":"https://api.github.com/users/QS20199/following{/other_user}","gists_url":"https://api.github.com/users/QS20199/gists{/gist_id}","starred_url":"https://api.github.com/users/QS20199/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QS20199/subscriptions","organizations_url":"https://api.github.com/users/QS20199/orgs","repos_url":"https://api.github.com/users/QS20199/repos","events_url":"https://api.github.com/users/QS20199/events{/privacy}","received_events_url":"https://api.github.com/users/QS20199/received_events","type":"User","site_admin":false},"labels":[{"id":882702378,"node_id":"MDU6TGFiZWw4ODI3MDIzNzg=","url":"https://api.github.com/repos/nuxt/nuxt.js/labels/cmty:bug-report","name":"cmty:bug-report","color":"f7b2c0","default":false},{"id":1111699002,"node_id":"MDU6TGFiZWwxMTExNjk5MDAy","url":"https://api.github.com/repos/nuxt/nuxt.js/labels/stale","name":"stale","color":"ffffff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-21T02:46:23Z","updated_at":"2018-12-07T21:42:48Z","closed_at":"2018-11-07T17:56:45Z","author_association":"NONE","body":"### Version\n\n[v1.4.2](https://github.com/nuxt.js/releases/tag/v1.4.2)\n\n### Reproduction link\n\n[https://github.com/QS20199/nuxt-bug-report-2018-9-21](https://github.com/QS20199/nuxt-bug-report-2018-9-21)\n\n### Steps to reproduce\n\n1.`npm install`\n2.`npm run dev`, and it will fail.\n\n### What is expected ?\n\nIt can run successfully\n\n### What is actually happening?\n\nIt failed to run.\n\n![TIM截图20180921103430.jpg](https://cmty.s3.eu-west-1.amazonaws.com/71995937/e95ac300-bd46-11e8-9cf4-3d288f7438d0.jpg)\n\n\n### Additional comments?\n\nThe repo is building by following steps, and you can see the change log in the repo:\n\n1. run `vue init nuxt-community/starter-template nuxt-bug-report-2018-9-21`\n2. run `npm install`\n3. run `npm run dev`, and it can run successfully\n4. run `npm install --save vue-loader@15`\n5. run `npm run dev`, and it will fail.\n\nIt will fail because wepack in nuxt is using the uncorrect version.\n\nWebpack in nuxt@1.4.2 is using vue-loader@13, and if I install vue-loader@15 in my repo, webpack will use vue-loader@15 instead of vue-loader@13, and it caused fail in running `npm run dev`.\n\nI found that if adding `context: __dirname` into `.\\node_modules\\nuxt\\lib\\builder\\webpack\\base.config.js`, it can choose the correct vue-loader version, and can run `npm run dev` successfully.\n\nBefore:\n\n![20180921104353.png](https://cmty.s3.eu-west-1.amazonaws.com/71995937/33bed700-bd48-11e8-9cf4-3d288f7438d0.png)\n\nAfter:\n\n![TIM截图20180921104447.jpg](https://cmty.s3.eu-west-1.amazonaws.com/71995937/595619b0-bd48-11e8-9cf4-3d288f7438d0.jpg)\n\n\n<!--cmty--><!--cmty_prevent_hook-->\n<div align=\"right\"><sub><em>This bug report is available on <a href=\"https://cmty.app/nuxt\">Nuxt</a> community (<a href=\"https://cmty.app/nuxt/nuxt.js/issues/c7789\">#c7789</a>)</em></sub></div>"},"comment":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/comments/445374683","html_url":"https://github.com/nuxt/nuxt.js/issues/3929#issuecomment-445374683","issue_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/3929","id":445374683,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTM3NDY4Mw==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-12-07T21:42:48Z","updated_at":"2018-12-07T21:42:48Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}