{"action":"closed","issue":{"url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/941","repository_url":"https://api.github.com/repos/JeffreyWay/laravel-mix","labels_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/941/labels{/name}","comments_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/941/comments","events_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/941/events","html_url":"https://github.com/JeffreyWay/laravel-mix/issues/941","id":238865677,"number":941,"title":"Error open fonts files","user":{"login":"dib258","id":4132137,"avatar_url":"https://avatars2.githubusercontent.com/u/4132137?v=3","gravatar_id":"","url":"https://api.github.com/users/dib258","html_url":"https://github.com/dib258","followers_url":"https://api.github.com/users/dib258/followers","following_url":"https://api.github.com/users/dib258/following{/other_user}","gists_url":"https://api.github.com/users/dib258/gists{/gist_id}","starred_url":"https://api.github.com/users/dib258/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dib258/subscriptions","organizations_url":"https://api.github.com/users/dib258/orgs","repos_url":"https://api.github.com/users/dib258/repos","events_url":"https://api.github.com/users/dib258/events{/privacy}","received_events_url":"https://api.github.com/users/dib258/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-27T14:13:52Z","updated_at":"2017-06-27T14:29:13Z","closed_at":"2017-06-27T14:29:13Z","body":"I have a Laravel project I'm working on and Laravel-mix was preinstalled in version 0.8.8. When I was making the following command `npm run production` I had an error with uglifyJs and this '`' character. \r\n\r\nAfter searching on the web I found no correct fix for this but to try to update laravel-mix to the new version. Which is 1.0.3.\r\n\r\nSince I did that nothing works anymore. I found out that the web.config.js was completly remodeled and I had a custom one out of node_modules. No warning just so many errors...\r\n\r\nI fixed a few of them but now I face one really don't understand even after few hours of search.\r\n\r\n```\r\nfs.js:651\r\nreturn binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);\r\n                         ^\r\nError: ENOENT: no such file or directory, open '/Users/me/LaravelProjects/friendsitting/public/resources/assets/fonts/fontawesome-webfont.eot'\r\nat Object.fs.openSync (fs.js:651:18)\r\nat Object.fs.readFileSync (fs.js:553:33)\r\nat File.read (/Users/me/LaravelProjects/friendsitting/node_modules/laravel-mix/src/File.js:180:19)\r\nat File.version (/Users/me/LaravelProjects/friendsitting/node_modules/laravel-mix/src/File.js:190:25)\r\nat Manifest.hash (/Users/me/LaravelProjects/friendsitting/node_modules/laravel-mix/src/Manifest.js:55:65)\r\nat manifest.forEach.file (/Users/me/LaravelProjects/friendsitting/node_modules/laravel-mix/src/plugins/CustomTasksPlugin.js:79:47)\r\nat Array.forEach (native)\r\nat CustomTasksPlugin.applyVersioning (/Users/me/LaravelProjects/friendsitting/node_modules/laravel-mix/src/plugins/CustomTasksPlugin.js:79:18)\r\nat Compiler.compiler.plugin.stats (/Users/me/LaravelProjects/friendsitting/node_modules/laravel-mix/src/plugins/CustomTasksPlugin.js:12:22)\r\nat Compiler.applyPlugins (/Users/me/LaravelProjects/friendsitting/node_modules/tapable/lib/Tapable.js:61:14)\r\nat /Users/me/LaravelProjects/friendsitting/node_modules/webpack/lib/Compiler.js:273:13\r\nat Compiler.emitRecords (/Users/me/LaravelProjects/friendsitting/node_modules/webpack/lib/Compiler.js:369:37)\r\nat /Users/me/LaravelProjects/friendsitting/node_modules/webpack/lib/Compiler.js:267:12\r\nat /Users/me/LaravelProjects/friendsitting/node_modules/webpack/lib/Compiler.js:362:11\r\nat next (/Users/me/LaravelProjects/friendsitting/node_modules/tapable/lib/Tapable.js:154:11)\r\nat Compiler.compiler.plugin (/Users/me/LaravelProjects/friendsitting/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)\r\nat Compiler.applyPluginsAsyncSeries1 (/Users/me/LaravelProjects/friendsitting/node_modules/tapable/lib/Tapable.js:158:13)\r\nat Compiler.afterEmit (/Users/me/LaravelProjects/friendsitting/node_modules/webpack/lib/Compiler.js:359:8)\r\nat Compiler.<anonymous> (/Users/me/LaravelProjects/friendsitting/node_modules/webpack/lib/Compiler.js:354:14)\r\nat /Users/me/LaravelProjects/friendsitting/node_modules/async/dist/async.js:421:16\r\nat iteratorCallback (/Users/me/LaravelProjects/friendsitting/node_modules/async/dist/async.js:998:13)\r\nat /Users/me/LaravelProjects/friendsitting/node_modules/async/dist/async.js:906:16\r\nat /Users/me/LaravelProjects/friendsitting/node_modules/graceful-fs/graceful-fs.js:43:10\r\nat FSReqWrap.oncomplete (fs.js:135:15)\r\n```\r\n\r\nWhich seems to be an error when opening the fonts file I had the same error before with FontAwesome.otf now it's on eot file. \r\n\r\nDoes anyone have the same error ? \r\nDid something change in the configuration of webpack that could return theses kind of errors ?\r\n\r\nThanks in advance for you answer !"}}
{"actor":{"display_login":"dib258"}}