Title: build aot: Error: No module factory available for dependency type: ContextElementDependency · Issue #4246 · angular/angular-cli · GitHub
Open Graph Title: build aot: Error: No module factory available for dependency type: ContextElementDependency · Issue #4246 · angular/angular-cli
X Title: build aot: Error: No module factory available for dependency type: ContextElementDependency · Issue #4246 · angular/angular-cli
Description: OS? angular-cli: 1.0.0-beta.26 node: 6.9.4 os: win32 x64 @angular/common: 2.4.5 @angular/compiler: 2.4.5 @angular/core: 2.4.5 @angular/forms: 2.4.5 @angular/http: 2.4.5 @angular/language-service: 2.4.5 @angular/platform-browser: 2.4.5 @a...
Open Graph Description: OS? angular-cli: 1.0.0-beta.26 node: 6.9.4 os: win32 x64 @angular/common: 2.4.5 @angular/compiler: 2.4.5 @angular/core: 2.4.5 @angular/forms: 2.4.5 @angular/http: 2.4.5 @angular/language-service: 2...
X Description: OS? angular-cli: 1.0.0-beta.26 node: 6.9.4 os: win32 x64 @angular/common: 2.4.5 @angular/compiler: 2.4.5 @angular/core: 2.4.5 @angular/forms: 2.4.5 @angular/http: 2.4.5 @angular/language-service: 2...
Opengraph URL: https://github.com/angular/angular-cli/issues/4246
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"build aot: Error: No module factory available for dependency type: ContextElementDependency","articleBody":"\r\n\r\n### OS?\r\n```\r\nangular-cli: 1.0.0-beta.26\r\nnode: 6.9.4\r\nos: win32 x64\r\n@angular/common: 2.4.5\r\n@angular/compiler: 2.4.5\r\n@angular/core: 2.4.5\r\n@angular/forms: 2.4.5\r\n@angular/http: 2.4.5\r\n@angular/language-service: 2.4.5\r\n@angular/platform-browser: 2.4.5\r\n@angular/platform-browser-dynamic: 2.4.5\r\n@angular/router: 3.2.1\r\n@angular/compiler-cli: 2.4.5\r\n```\r\n\r\n\r\n### Repro steps.\r\nRepo: https://github.com/born2net/studioweb\r\n\r\n### The log given by the failure.\r\n>Trying to ng build aot\r\n\r\ndump:\r\n\r\n```\r\n$ ng build --aot\r\n 25% building modules 128/230 modules 102 active ...modules\\@angular\\core\\src\\metadata.js\r\nAn error occured during the build:\r\nError: No module factory available for dependency type: ContextElementDependency\r\n at Compilation.addModuleDependencies (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\Compilation.js:186:21)\r\n at Compilation.processModuleDependencies (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\Compilation.js:175:8)\r\n at _this.buildModule.err (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\Compilation.js:315:13)\r\n at building.forEach.cb (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\Compilation.js:125:27)\r\n at Array.forEach (native)\r\n at callback (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\Compilation.js:125:13)\r\n at module.build (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\Compilation.js:147:11)\r\n at ContextModule.\u003canonymous> (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\ContextModule.js:118:3)\r\n at ContextModule.result.resolveDependencies (C:\\msweb\\angular-cli\\packages\\@ngtools\\webpack\\src\\plugin.ts:195:25)\r\n at ContextModule.build (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\ContextModule.js:99:7)\r\n at Compilation.buildModule (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\Compilation.js:127:10)\r\n at factoryCallback (C:\\msweb\\studioweb\\node_modules\\webpack\\lib\\Compilation.js:304:11)\r\n\r\n \r\n```\r\n\r\nseems the entire stack is from Webpack and no ref to any part of my code\r\n\r\n\r\nRegards,\r\n\r\nSean","author":{"url":"https://github.com/born2net","@type":"Person","name":"born2net"},"datePublished":"2017-01-27T03:39:10Z","url":"https://github.com/angular/angular-cli/issues/4246"}
| 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:f3b64e15-cbfd-d991-f613-5869603ba075 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C5BA:91CF4:16A7118:1DFB7EE:6B013036 |
| html-safe-nonce | 4bfa93c1c8d6887e94a9462b802e811be2c9b42ff8ec51e718394991c4fc3b3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUJBOjkxQ0Y0OjE2QTcxMTg6MURGQjdFRTo2QjAxMzAzNiIsInZpc2l0b3JfaWQiOiI3Njc5MTI2MDY5MzE1NzExMDMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b6d1498cdf7cd45366f3e1281a83e70b19101fb00c2392d62eb63b2cacc136e7 |
| hovercard-subject-tag | issue:203551769 |
| 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/4246/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4857b8db720471e73479d9861cf2f882a6b58faf75bb926e4052ec83ce1e1789/angular/angular-cli/issues/4246 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4857b8db720471e73479d9861cf2f882a6b58faf75bb926e4052ec83ce1e1789/angular/angular-cli/issues/4246 |
| og:image:alt | OS? angular-cli: 1.0.0-beta.26 node: 6.9.4 os: win32 x64 @angular/common: 2.4.5 @angular/compiler: 2.4.5 @angular/core: 2.4.5 @angular/forms: 2.4.5 @angular/http: 2.4.5 @angular/language-service: 2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | born2net |
| 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