{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-cli/issues/2847","repository_url":"https://api.github.com/repos/vuejs/vue-cli","labels_url":"https://api.github.com/repos/vuejs/vue-cli/issues/2847/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-cli/issues/2847/comments","events_url":"https://api.github.com/repos/vuejs/vue-cli/issues/2847/events","html_url":"https://github.com/vuejs/vue-cli/issues/2847","id":375564996,"node_id":"MDU6SXNzdWUzNzU1NjQ5OTY=","number":2847,"title":"npm run build is broken with \"Cannot read property 'stat' of undefined\"","user":{"login":"amir20","id":260667,"node_id":"MDQ6VXNlcjI2MDY2Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/260667?v=4","gravatar_id":"","url":"https://api.github.com/users/amir20","html_url":"https://github.com/amir20","followers_url":"https://api.github.com/users/amir20/followers","following_url":"https://api.github.com/users/amir20/following{/other_user}","gists_url":"https://api.github.com/users/amir20/gists{/gist_id}","starred_url":"https://api.github.com/users/amir20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amir20/subscriptions","organizations_url":"https://api.github.com/users/amir20/orgs","repos_url":"https://api.github.com/users/amir20/repos","events_url":"https://api.github.com/users/amir20/events{/privacy}","received_events_url":"https://api.github.com/users/amir20/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-30T15:56:57Z","updated_at":"2018-10-30T16:21:33Z","closed_at":null,"author_association":"NONE","body":"### Version\r\n3.0.5\r\n\r\n### Reproduction link\r\n[https://gist.github.com/amir20/741117cd85858949c866e01dcf578a7f](https://gist.github.com/amir20/741117cd85858949c866e01dcf578a7f)\r\n\r\n\r\n\r\n### Node and OS info\r\nnode v10.7.0, npm 6.1.0\r\n\r\n### Steps to reproduce\r\nnpm install -g @vue/cli\r\nvue create -d hello-world\r\ncd hello-world\r\nnpm run build\r\n\r\n\r\n\r\n### What is expected?\r\nSuccessfully be able to build for production \r\n\r\n### What is actually happening?\r\n```\r\n⠙  Building for production...\r\n\r\n ERROR  Failed to compile with 1 errors                                                                                                                                                             3:47:08 PM\r\n\r\n error  in ./src/App.vue?vue&type=script&lang=js&\r\n\r\nModule build failed (from ./node_modules/thread-loader/dist/cjs.js):\r\nThread Loader (Worker 1)\r\nCannot read property 'stat' of undefined\r\n\r\n    at toDepDetails (/hello-world/node_modules/cache-loader/dist/index.js:65:14)\r\n    at arrayIterator (/hello-world/node_modules/neo-async/async.js:3780:9)\r\n    at timesSync (/hello-world/node_modules/neo-async/async.js:2292:7)\r\n    at Object.mapLimit (/hello-world/node_modules/neo-async/async.js:3775:5)\r\n    at Array.<anonymous> (/hello-world/node_modules/cache-loader/dist/index.js:88:18)\r\n    at arrayEachFunc (/hello-world/node_modules/neo-async/async.js:2512:19)\r\n    at Object.parallel (/hello-world/node_modules/neo-async/async.js:6867:9)\r\n    at Object.loader (/hello-world/node_modules/cache-loader/dist/index.js:87:9)\r\n\r\n @ ./src/App.vue?vue&type=script&lang=js& 1:0-302 1:318-321 1:323-622 1:323-622\r\n @ ./src/App.vue\r\n @ ./src/main.js\r\n @ multi ./src/main.js\r\n```\r\n<!-- generated by vue-issues. DO NOT REMOVE -->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-cli/issues/comments/434369538","html_url":"https://github.com/vuejs/vue-cli/issues/2847#issuecomment-434369538","issue_url":"https://api.github.com/repos/vuejs/vue-cli/issues/2847","id":434369538,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDM2OTUzOA==","user":{"login":"pixelizedPeanut","id":14962523,"node_id":"MDQ6VXNlcjE0OTYyNTIz","avatar_url":"https://avatars0.githubusercontent.com/u/14962523?v=4","gravatar_id":"","url":"https://api.github.com/users/pixelizedPeanut","html_url":"https://github.com/pixelizedPeanut","followers_url":"https://api.github.com/users/pixelizedPeanut/followers","following_url":"https://api.github.com/users/pixelizedPeanut/following{/other_user}","gists_url":"https://api.github.com/users/pixelizedPeanut/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelizedPeanut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelizedPeanut/subscriptions","organizations_url":"https://api.github.com/users/pixelizedPeanut/orgs","repos_url":"https://api.github.com/users/pixelizedPeanut/repos","events_url":"https://api.github.com/users/pixelizedPeanut/events{/privacy}","received_events_url":"https://api.github.com/users/pixelizedPeanut/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T16:21:33Z","updated_at":"2018-10-30T16:21:33Z","author_association":"NONE","body":"I added a postinstall script for now in my package.json:\r\n```\r\n\"scripts\": {\r\n    \"postinstall\": \"npm i cache-loader@1.2.2\",\r\n```\r\nit's horribly ugly but it sticked :D \r\n"}}
{"actor":{"display_login":"pixelizedPeanut"}}