Title: Issue: Cannot read property 'thisCompilation' of undefined · Issue #9794 · angular/angular-cli · GitHub
Open Graph Title: Issue: Cannot read property 'thisCompilation' of undefined · Issue #9794 · angular/angular-cli
X Title: Issue: Cannot read property 'thisCompilation' of undefined · Issue #9794 · angular/angular-cli
Description: Versions Angular CLI: 1.7.1 Node: 8.9.4 OS: linux x64 Angular: 5.1.3 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router @angular/cdk: 5.0.3 @angul...
Open Graph Description: Versions Angular CLI: 1.7.1 Node: 8.9.4 OS: linux x64 Angular: 5.1.3 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dy...
X Description: Versions Angular CLI: 1.7.1 Node: 8.9.4 OS: linux x64 Angular: 5.1.3 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dy...
Opengraph URL: https://github.com/angular/angular-cli/issues/9794
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue: Cannot read property 'thisCompilation' of undefined","articleBody":"\u003c!--\r\nWe will close this issue if you don't provide the needed information.\r\nFor feature requests, delete the form below and describe the requirements and use case.\r\n-->\r\n\r\n### Versions\r\n```\r\nAngular CLI: 1.7.1\r\nNode: 8.9.4\r\nOS: linux x64\r\nAngular: 5.1.3\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\n@angular/cdk: 5.0.3\r\n@angular/cli: 1.7.1\r\n@angular/flex-layout: 2.0.0-beta.10-4905443\r\n@angular/material: 5.0.3\r\n@angular-devkit/build-optimizer: 0.0.32\r\n@schematics/package-update: 0.3.2\r\ntypescript: 2.4.2\r\nwebpack: 4.0.1\r\n\r\n```\r\n\r\n### Observed behavior\r\n```\r\n** NG Live Development Server is listening on 0.0.0.0:4200, open your browser on http://localhost:4200/ **\r\n 0% compilingCannot read property 'thisCompilation' of undefined\r\nTypeError: Cannot read property 'thisCompilation' of undefined\r\n at NodeTemplatePlugin.apply (/home/rui/projects/blackbox-2m-web/node_modules/webpack/lib/node/NodeTemplatePlugin.js:19:18)\r\n at Compiler.apply (/home/rui/projects/blackbox-2m-web/node_modules/tapable/lib/Tapable.js:375:16)\r\n at Object.compileTemplate (/home/rui/projects/blackbox-2m-web/node_modules/html-webpack-plugin/lib/compiler.js:48:17)\r\n at Compiler.\u003canonymous> (/home/rui/projects/blackbox-2m-web/node_modules/html-webpack-plugin/index.js:47:40)\r\n at Compiler.applyPluginsParallel (/home/rui/projects/blackbox-2m-web/node_modules/tapable/lib/Tapable.js:293:14)\r\n at applyPluginsAsync.err (/home/rui/projects/blackbox-2m-web/node_modules/@angular/cli/node_modules/webpack/lib/Compiler.js:499:9)\r\n at Compiler.applyPluginsAsyncSeries (/home/rui/projects/blackbox-2m-web/node_modules/tapable/lib/Tapable.js:195:46)\r\n at Compiler.compile (/home/rui/projects/blackbox-2m-web/node_modules/@angular/cli/node_modules/webpack/lib/Compiler.js:492:8)\r\n at compiler.applyPluginsAsync.err (/home/rui/projects/blackbox-2m-web/node_modules/@angular/cli/node_modules/webpack/lib/Compiler.js:83:18)\r\n at next (/home/rui/projects/blackbox-2m-web/node_modules/tapable/lib/Tapable.js:202:11)\r\n at Compiler.compilerInvalid (/home/rui/projects/blackbox-2m-web/node_modules/webpack-dev-middleware/lib/Shared.js:161:5)\r\n at next (/home/rui/projects/blackbox-2m-web/node_modules/tapable/lib/Tapable.js:204:14)\r\n at Compiler.compiler.plugin (/home/rui/projects/blackbox-2m-web/node_modules/@angular/cli/node_modules/webpack/lib/CachePlugin.js:48:5)\r\n at next (/home/rui/projects/blackbox-2m-web/node_modules/tapable/lib/Tapable.js:204:14)\r\n at Compiler.compiler.plugin (/home/rui/projects/blackbox-2m-web/node_modules/@angular/cli/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:462:13)\r\n at Compiler.applyPluginsAsyncSeries (/home/rui/projects/blackbox-2m-web/node_modules/tapable/lib/Tapable.js:206:13)\r\n\r\n```\r\n\r\n### Desired behavior\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\nWhat did you expect to see?\r\n-->\r\n\r\n\r\n### Mention any other details that might be useful (optional)\r\nReverting webpack to 3.11.0 solves this issue\r\n","author":{"url":"https://github.com/ruisebastiao","@type":"Person","name":"ruisebastiao"},"datePublished":"2018-02-27T09:38:47Z","url":"https://github.com/angular/angular-cli/issues/9794"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5295b606-eb88-0ac5-c5d0-143fcbf7e219 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9854:2564F:1726CF1:1E7CBE5:6B013367 |
| html-safe-nonce | 2d194d8db0294a7b70f68c22901498e343e39c42486abf36678ca859b7b65d93 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODU0OjI1NjRGOjE3MjZDRjE6MUU3Q0JFNTo2QjAxMzM2NyIsInZpc2l0b3JfaWQiOiI4NzE2NDU4Mzc3NTEwNzI4NTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 05164a833a5bc25956f9eaee5637c70f0fc2f3fb24e0a457e3b8aa8bd729d8de |
| hovercard-subject-tag | issue:300555778 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/9794/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bb2b2a396f31865ff2ae6389e3143470bb1fc8a66800ef07aa6749a996980ab8/angular/angular-cli/issues/9794 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bb2b2a396f31865ff2ae6389e3143470bb1fc8a66800ef07aa6749a996980ab8/angular/angular-cli/issues/9794 |
| og:image:alt | Versions Angular CLI: 1.7.1 Node: 8.9.4 OS: linux x64 Angular: 5.1.3 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ruisebastiao |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width