{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/6568","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/6568/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/6568/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/6568/events","html_url":"https://github.com/webpack/webpack/issues/6568","id":300064286,"number":6568,"title":"Tapable.plugin is deprecated. Use new API on `.hooks` instead","user":{"login":"julmot","id":8310677,"avatar_url":"https://avatars0.githubusercontent.com/u/8310677?v=4","gravatar_id":"","url":"https://api.github.com/users/julmot","html_url":"https://github.com/julmot","followers_url":"https://api.github.com/users/julmot/followers","following_url":"https://api.github.com/users/julmot/following{/other_user}","gists_url":"https://api.github.com/users/julmot/gists{/gist_id}","starred_url":"https://api.github.com/users/julmot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julmot/subscriptions","organizations_url":"https://api.github.com/users/julmot/orgs","repos_url":"https://api.github.com/users/julmot/repos","events_url":"https://api.github.com/users/julmot/events{/privacy}","received_events_url":"https://api.github.com/users/julmot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2018-02-25T21:42:22Z","updated_at":"2018-03-02T02:18:02Z","closed_at":"2018-03-01T14:59:01Z","author_association":"NONE","body":"<!-- Please don't delete this template or we'll close your issue -->\r\n<!-- Before creating an issue please make sure you are using the latest version of webpack. -->\r\n<!-- Also consider trying the webpack@beta version, maybe it's already fixed. -->\r\n\r\n**Do you want to request a *feature* or report a *bug*?** Bug\r\n\r\n<!-- Please ask questions on StackOverflow or the webpack Gitter (https://gitter.im/webpack/webpack). -->\r\n<!-- Issues which contain questions or support requests will be closed. -->\r\n\r\n**What is the current behavior?**\r\n\r\n![topic](https://user-images.githubusercontent.com/8310677/36646814-e5ecfbe2-1a7c-11e8-9a01-89c196249b2e.png)\r\n\r\nhttps://travis-ci.org/julmot/form-components/builds/346048668#L4063-L4081\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n\r\nRun the build of [this repository](https://github.com/julmot/form-components) which uses [these settings](https://github.com/julmot/form-components/blob/greenkeeper/webpack-4.0.0/build/webpack.config.js). PR: https://github.com/julmot/form-components/pull/9\r\n\r\n<!-- A great way to do this is to provide your configuration via a GitHub gist. -->\r\n<!-- Best provide a minimal reproduceable repo -->\r\n<!-- If your issue is caused by a plugin or loader file the issue on the plugin/loader repo -->\r\n\r\n**What is the expected behavior?**\r\n\r\nIt shouldn't fail or provide a meaningful message that helps resolving the issue. The current message looks like an internal error.\r\n\r\n\r\n**Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.**\r\n\r\nwebpack v4\r\nWin10\r\nnode v6.11.3"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/369798199","html_url":"https://github.com/webpack/webpack/issues/6568#issuecomment-369798199","issue_url":"https://api.github.com/repos/webpack/webpack/issues/6568","id":369798199,"user":{"login":"wiejakp","id":22645549,"avatar_url":"https://avatars1.githubusercontent.com/u/22645549?v=4","gravatar_id":"","url":"https://api.github.com/users/wiejakp","html_url":"https://github.com/wiejakp","followers_url":"https://api.github.com/users/wiejakp/followers","following_url":"https://api.github.com/users/wiejakp/following{/other_user}","gists_url":"https://api.github.com/users/wiejakp/gists{/gist_id}","starred_url":"https://api.github.com/users/wiejakp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiejakp/subscriptions","organizations_url":"https://api.github.com/users/wiejakp/orgs","repos_url":"https://api.github.com/users/wiejakp/repos","events_url":"https://api.github.com/users/wiejakp/events{/privacy}","received_events_url":"https://api.github.com/users/wiejakp/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T02:18:02Z","updated_at":"2018-03-02T02:18:02Z","author_association":"NONE","body":"Also having same issue:\r\n\r\n```user@server:/var/www/example.com# ./node_modules/.bin/encore production\r\nRunning webpack ...\r\n\r\n(node:26427) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead\r\n/var/www/example.com/node_modules/webpack/lib/Chunk.js:460\r\n                throw new Error(\r\n                ^\r\n\r\nError: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead\r\n    at Chunk.get (/var/www/example.com/node_modules/webpack/lib/Chunk.js:460:9)\r\n    at /var/www/example.com/node_modules/@symfony/webpack-encore/node_modules/extract-text-webpack-plugin/dist/index.js:176:48\r\n    at Array.forEach (<anonymous>)\r\n    at /var/www/example.com/node_modules/@symfony/webpack-encore/node_modules/extract-text-webpack-plugin/dist/index.js:171:18\r\n    at AsyncSeriesHook.eval [as callAsync] (eval at create (/var/www/example.com/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:7:1)\r\n    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (/var/www/example.com/node_modules/webpack/node_modules/tapable/lib/Hook.js:35:21)\r\n    at Compilation.seal (/var/www/example.com/node_modules/webpack/lib/Compilation.js:881:27)\r\n    at hooks.make.callAsync.err (/var/www/example.com/node_modules/webpack/lib/Compiler.js:464:17)\r\n    at _done (eval at create (/var/www/example.com/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:9:1)\r\n    at _err1 (eval at create (/var/www/example.com/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:32:22)\r\n    at _addModuleChain (/var/www/example.com/node_modules/webpack/lib/Compilation.js:749:12)\r\n    at processModuleDependencies.err (/var/www/example.com/node_modules/webpack/lib/Compilation.js:688:9)\r\n    at _combinedTickCallback (internal/process/next_tick.js:131:7)\r\n    at process._tickCallback (internal/process/next_tick.js:180:9)```\r\n\r\n`package.json`:\r\n\r\n```user@server:/var/www/example.com# cat package.json \r\n{\r\n    \"devDependencies\": {\r\n        \"@symfony/webpack-encore\": \"^0.17.0\",\r\n        \"webpack-cli\": \"^2.0.10\",\r\n        \"webpack-notifier\": \"^1.5.1\"\r\n    },\r\n    \"license\": \"UNLICENSED\",\r\n    \"private\": true,\r\n    \"scripts\": {\r\n        \"dev-server\": \"encore dev-server\",\r\n        \"dev\": \"encore dev\",\r\n        \"watch\": \"encore dev --watch\",\r\n        \"build\": \"encore production\"\r\n    },\r\n    \"dependencies\": {\r\n        \"bootstrap-sass\": \"^3.3.7\",\r\n        \"extract-text-webpack-plugin\": \"4.0.0-beta.0\",\r\n        \"jquery\": \"^3.3.1\",\r\n        \"node-sass\": \"^4.7.2\",\r\n        \"sass-loader\": \"^6.0.6\",\r\n        \"webpack\": \"^4.0.1\"\r\n    }\r\n}```\r\n\r\nAlso getting `yarn run encore dev` error which is weird:\r\n\r\n```error An unexpected error occurred: \"Command failed.\r\nExit code: 1\r\nCommand: sh\r\nArguments: -c /var/www/example.com/node_modules/.bin/encore dev\r\nDirectory: /var/www/example.com\r\nOutput:\r\n\".\r\ninfo If you think this is a bug, please open a bug report with the information provided in \"/var/www/example.com/yarn-error.log\".\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```"}}
{"actor":{"display_login":"wiejakp"}}