{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleChromeLabs/squoosh/issues/282","repository_url":"https://api.github.com/repos/GoogleChromeLabs/squoosh","labels_url":"https://api.github.com/repos/GoogleChromeLabs/squoosh/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChromeLabs/squoosh/issues/282/comments","events_url":"https://api.github.com/repos/GoogleChromeLabs/squoosh/issues/282/events","html_url":"https://github.com/GoogleChromeLabs/squoosh/issues/282","id":380546069,"node_id":"MDU6SXNzdWUzODA1NDYwNjk=","number":282,"title":"Build fails on Windows 10","user":{"login":"g2ice87","id":25044344,"node_id":"MDQ6VXNlcjI1MDQ0MzQ0","avatar_url":"https://avatars0.githubusercontent.com/u/25044344?v=4","gravatar_id":"","url":"https://api.github.com/users/g2ice87","html_url":"https://github.com/g2ice87","followers_url":"https://api.github.com/users/g2ice87/followers","following_url":"https://api.github.com/users/g2ice87/following{/other_user}","gists_url":"https://api.github.com/users/g2ice87/gists{/gist_id}","starred_url":"https://api.github.com/users/g2ice87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g2ice87/subscriptions","organizations_url":"https://api.github.com/users/g2ice87/orgs","repos_url":"https://api.github.com/users/g2ice87/repos","events_url":"https://api.github.com/users/g2ice87/events{/privacy}","received_events_url":"https://api.github.com/users/g2ice87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-14T05:49:48Z","updated_at":"2018-11-14T05:49:48Z","closed_at":null,"author_association":"NONE","body":"Seems to be an issue with the webpack, any guidance?\r\n\r\n$ npm run build\r\n\r\n> squoosh@1.0.2 build C:\\Squoosh\\squoosh\r\n> webpack -p\r\n\r\n   76 modules\r\n\r\nERROR in ./src/codecs/processor-worker.ts (./node_modules/worker-plugin/dist/loader.js?{\"name\":\"processor-worker\"}!./src/codecs/processor-worker.ts)\r\nModule build failed (from ./node_modules/worker-plugin/dist/loader.js):\r\nModuleNotFoundError: Module not found: Error: Can't resolve 'fs' in 'C:\\Squoosh\\squoosh\\codecs\\imagequant'\r\n    at factory.create (C:\\Squoosh\\squoosh\\node_modules\\webpack\\lib\\Compilation.js:797:10)\r\n    at factory (C:\\Squoosh\\squoosh\\node_modules\\webpack\\lib\\NormalModuleFactory.js:397:22)\r\n    at resolver (C:\\Squoosh\\squoosh\\node_modules\\webpack\\lib\\NormalModuleFactory.js:130:21)\r\n    at asyncLib.parallel (C:\\Squoosh\\squoosh\\node_modules\\webpack\\lib\\NormalModuleFactory.js:224:22)\r\n    at C:\\Squoosh\\squoosh\\node_modules\\neo-async\\async.js:2817:7\r\n    at C:\\Squoosh\\squoosh\\node_modules\\neo-async\\async.js:6783:13\r\n    at normalResolver.resolve (C:\\Squoosh\\squoosh\\node_modules\\webpack\\lib\\NormalModuleFactory.js:214:25)\r\n    at doResolve (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:184:12)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn0 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:15:1)\r\n    at resolver.doResolve (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\UnsafeCachePlugin.js:37:5)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn0 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:15:1)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn0 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:12:1)\r\n    at resolver.doResolve (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\DescriptionFilePlugin.js:42:38)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn41 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:381:1)\r\n    at resolver.doResolve (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\ModuleKindPlugin.js:23:37)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn0 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:15:1)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn0 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:15:1)\r\n    at args (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\forEachBail.js:30:14)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn0 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:15:1)\r\n    at resolver.doResolve (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\UnsafeCachePlugin.js:37:5)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn0 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:15:1)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn0 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:12:1)\r\n    at resolver.doResolve (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\DescriptionFilePlugin.js:42:38)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn42 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:393:1)\r\n    at hook.callAsync (C:\\Squoosh\\squoosh\\node_modules\\enhanced-resolve\\lib\\Resolver.js:238:5)\r\n    at _fn0 (eval at create (C:\\Squoosh\\squoosh\\node_modules\\tapable\\lib\\HookCodeFactory.js:32:10), <anonymous>:12:1)"}}
{"actor":{"display_login":"g2ice87"}}