{"action":"opened","issue":{"url":"https://api.github.com/repos/liady/webpack-node-externals/issues/34","repository_url":"https://api.github.com/repos/liady/webpack-node-externals","labels_url":"https://api.github.com/repos/liady/webpack-node-externals/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/liady/webpack-node-externals/issues/34/comments","events_url":"https://api.github.com/repos/liady/webpack-node-externals/issues/34/events","html_url":"https://github.com/liady/webpack-node-externals/issues/34","id":236497700,"number":34,"title":"Module not found: Error: Can't resolve 'hiredis'","user":{"login":"richburdon","id":3523355,"avatar_url":"https://avatars2.githubusercontent.com/u/3523355?v=3","gravatar_id":"","url":"https://api.github.com/users/richburdon","html_url":"https://github.com/richburdon","followers_url":"https://api.github.com/users/richburdon/followers","following_url":"https://api.github.com/users/richburdon/following{/other_user}","gists_url":"https://api.github.com/users/richburdon/gists{/gist_id}","starred_url":"https://api.github.com/users/richburdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richburdon/subscriptions","organizations_url":"https://api.github.com/users/richburdon/orgs","repos_url":"https://api.github.com/users/richburdon/repos","events_url":"https://api.github.com/users/richburdon/events{/privacy}","received_events_url":"https://api.github.com/users/richburdon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-16T14:22:28Z","updated_at":"2017-06-16T14:22:28Z","closed_at":null,"body":"I use nodeExternals a lot to build server-side modules, but I get this error for any project that depends (indirectly) on redis (all other modules -- 1000s of them -- work fine).\r\n\r\nIn this case, my import of `bull` causes problems, through its dependency on `ioredis` (similar case here https://github.com/webpack/webpack-dev-server/issues/227)\r\n\r\n```\r\nERROR in ../sub/scheduler/~/bull/~/redis-parser/lib/hiredis.js\r\nModule not found: Error: Can't resolve 'hiredis' in '/.../scheduler/node_modules/bull/node_modules/redis-parser/lib'\r\n @ ../scheduler/~/bull/~/redis-parser/lib/hiredis.js 3:14-32\r\n @ ../scheduler/~/bull/~/redis-parser/lib/parser.js\r\n @ ../scheduler/~/bull/~/redis-parser/index.js\r\n @ ../scheduler/~/bull/~/ioredis/lib/redis/parser.js\r\n @ ../scheduler/~/bull/~/ioredis/lib/redis.js\r\n @ ../scheduler/~/bull/~/ioredis/index.js\r\n @ ../scheduler/~/bull/lib/queue.js\r\n @ ../scheduler/src/util/queue.js\r\n @ ../scheduler/index.js\r\n @ ./src/server/router/admin.js\r\n @ ./src/server/server.js\r\n @ ./src/server/main.js\r\n @ multi babel-polyfill ./src/server/main.js\r\n```\r\n"}}
{"actor":{"display_login":"richburdon"}}