Title: Error with lazy loading modules routing : Error: Uncaught (in promise): ReferenceError: System is not defined(…) · Issue #2033 · angular/angular-cli · GitHub
Open Graph Title: Error with lazy loading modules routing : Error: Uncaught (in promise): ReferenceError: System is not defined(…) · Issue #2033 · angular/angular-cli
X Title: Error with lazy loading modules routing : Error: Uncaught (in promise): ReferenceError: System is not defined(…) · Issue #2033 · angular/angular-cli
Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Ubuntu 16.04 Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal:...
Open Graph Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Ubuntu 16.04 Versions. Please run ng --version. If there's noth...
X Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Ubuntu 16.04 Versions. Please run ng --version. If there's ...
Opengraph URL: https://github.com/angular/angular-cli/issues/2033
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error with lazy loading modules routing : Error: Uncaught (in promise): ReferenceError: System is not defined(…)","articleBody":"> ## Please provide us with the following information:\n1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\n Ubuntu 16.04\n2. Versions. Please run `ng --version`. If there's nothing outputted, please run\n in a Terminal: `node --version` and paste the result here:\n angular-cli: 1.0.0-beta.11-webpack.8 (**From 2015/09/09 9ddba69 master branch**)\n node: 6.5.0\n os: linux x64\n3. Repro steps. Was this an app that wasn't created using the CLI? What change did you\n do on your code? etc.\n\n```\nconst routes: Routes = [\n {\n path: '',\n loadChildren: './+dashboard/dashboard.module#DashBoardModule'\n },\n {\n];\n```\n\n`ng serve`\n1. The log given by the failure. Normally this include a stack trace and some\n more information.\n `zone.js:484Unhandled Promise rejection: System is not defined ; Zone: angular ; Task: Promise.then ; Value: ReferenceError: System is not defined(…) ReferenceError: System is not defined\n at SystemJsNgModuleLoader._system (http://test.local:4200/main.bundle.js:9972:49)\n at SystemJsNgModuleLoader.loadAndCompile (http://angular-back.lbo.local:4200/main.bundle.js:9984:25)\n at SystemJsNgModuleLoader.load (http://test.local:4200/main.bundle.js:9977:64)\n at RouterConfigLoader.loadModuleFactory (http://test.local:4200/main.bundle.js:32809:76)\n at RouterConfigLoader.load (http://test.local:4200/main.bundle.js:32801:52)\n at MergeMapSubscriber.project (http://test.local:4200/main.bundle.js:33422:82)\n at MergeMapSubscriber._tryNext (http://test.local:4200/main.bundle.js:38755:27)\n at MergeMapSubscriber._next (http://test.local:4200/main.bundle.js:38745:18)\n at MergeMapSubscriber.Subscriber.next (http://test.lbo.local:4200/main.bundle.js:15144:18)\n at ScalarObservable._subscribe (http://test.local:4200/main.bundle.js:38340:24)`\n2. Mention any other details that might be useful.\n Why is there a mention to SystemJs whereas i'm using angular-cli@webpack ?\n","author":{"url":"https://github.com/chosroes","@type":"Person","name":"chosroes"},"datePublished":"2016-09-09T16:46:11Z","url":"https://github.com/angular/angular-cli/issues/2033"}
| 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:26c016f3-4427-e272-899e-5f93e33e666f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A356:CC1A4:1776F1A:1DD4BD4:6B013A4C |
| html-safe-nonce | 0a6b30334627d74eb56460d48f1d6ccb12bd337144bdaf19c5ebb9e8d7f16491 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzU2OkNDMUE0OjE3NzZGMUE6MURENEJENDo2QjAxM0E0QyIsInZpc2l0b3JfaWQiOiIyNTkyMzIwMTcyOTIwNDg2NDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ea7599779d897b686957d075c553e4d9cedb9a231439479cf370ab76f80f24d7 |
| hovercard-subject-tag | issue:176055280 |
| 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/2033/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c4e11f8fdf8af76705282e4a6f5e59df6886e73555740a8b412788f4b87fd9d/angular/angular-cli/issues/2033 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c4e11f8fdf8af76705282e4a6f5e59df6886e73555740a8b412788f4b87fd9d/angular/angular-cli/issues/2033 |
| og:image:alt | Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Ubuntu 16.04 Versions. Please run ng --version. If there's noth... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chosroes |
| 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