Title: when use SystemJsNgModuleLoader, cannot find module · Issue #5981 · angular/angular-cli · GitHub
Open Graph Title: when use SystemJsNgModuleLoader, cannot find module · Issue #5981 · angular/angular-cli
X Title: when use SystemJsNgModuleLoader, cannot find module · Issue #5981 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [ bug report ] ERROR Error: Uncaught (in promise): Error: Cannot find module './app/example/template/test-template/test-template.module'. ### Versions. @angular/cli: 1.0.0 node: 6.9.4 os: ...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [ bug report ] ERROR Error: Uncaught (in promise): Error: Cannot find module './app/example/template/test-template/test-template.module'. ### Versio...
X Description: Bug Report or Feature Request (mark with an x) - [ bug report ] ERROR Error: Uncaught (in promise): Error: Cannot find module './app/example/template/test-template/test-template.module'. ##...
Opengraph URL: https://github.com/angular/angular-cli/issues/5981
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"when use SystemJsNgModuleLoader, cannot find module","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [ bug report ]\r\nERROR Error: Uncaught (in promise): Error: Cannot find module './app/example/template/test-template/test-template.module'.\r\n\r\n### Versions.\r\n@angular/cli: 1.0.0\r\nnode: 6.9.4\r\nos: darwin x64\r\n\r\n### Repro steps.\r\nwhen load dynamic module, using SystemJsNgModuleLoader.load(this.path), in browser inspect, got this error: \"ERROR Error: Uncaught (in promise): Error: Cannot find module \"'./app/example/template/test-template/test-template.module'\r\nfiles path:\r\n-src/app/example/template/test-template/test-template.module.ts\r\n-src/app/example/example.component.ts\r\n\r\nIn example.component.ts, I tried to use this.path as below but all cannot work :\r\n1. src/app/example/template/test-template/test-template.module\r\n2. app/example/template/test-template/test-template.module\r\n3. ./app/example/template/test-template/test-template.module\r\n4. ./template/test-template/test-template.module\r\n\r\n### Mention any other details that might be useful.\r\nDoes angular-cli allow us to load a module dynamically?\r\n\r\nThanks.\r\n\r\n","author":{"url":"https://github.com/vivian7169","@type":"Person","name":"vivian7169"},"datePublished":"2017-04-17T02:01:23Z","url":"https://github.com/angular/angular-cli/issues/5981"}
| 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:aa472faf-1920-f85f-cf0c-301bf2934b09 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9BA4:785A9:962F1B:BFF193:6B00EE9C |
| html-safe-nonce | 2a0c39e6fafda50712b23d980f626896037510355d4c9fdb1fee54138eb8589f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkE0Ojc4NUE5Ojk2MkYxQjpCRkYxOTM6NkIwMEVFOUMiLCJ2aXNpdG9yX2lkIjoiMTg1NTkxODkyNzMyMjg2OTQwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c4d8867f48c2c4d720a102c46cdaae9d071c6c5ff7c6df44d8ab455f9f53b6a8 |
| hovercard-subject-tag | issue:222049767 |
| 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/5981/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3bc286902cd67e4b8f57ede6022343d9b9f16a64ff6361701939a979c4a9baaa/angular/angular-cli/issues/5981 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3bc286902cd67e4b8f57ede6022343d9b9f16a64ff6361701939a979c4a9baaa/angular/angular-cli/issues/5981 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [ bug report ] ERROR Error: Uncaught (in promise): Error: Cannot find module './app/example/template/test-template/test-template.module'. ### Versio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vivian7169 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width