Title: [app-shell] Cannot read property 'split' of undefined (+ explanation, + temporary workaround) · Issue #8793 · angular/angular-cli · GitHub
Open Graph Title: [app-shell] Cannot read property 'split' of undefined (+ explanation, + temporary workaround) · Issue #8793 · angular/angular-cli
X Title: [app-shell] Cannot read property 'split' of undefined (+ explanation, + temporary workaround) · Issue #8793 · angular/angular-cli
Description: Versions Angular CLI: 1.6.0 Node: 8.2.1 OS: darwin x64 Angular: 5.1.0 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, platform-server, router @angular...
Open Graph Description: Versions Angular CLI: 1.6.0 Node: 8.2.1 OS: darwin x64 Angular: 5.1.0 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-d...
X Description: Versions Angular CLI: 1.6.0 Node: 8.2.1 OS: darwin x64 Angular: 5.1.0 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-d...
Opengraph URL: https://github.com/angular/angular-cli/issues/8793
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[app-shell] Cannot read property 'split' of undefined (+ explanation, + temporary workaround)","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.6.0\r\nNode: 8.2.1\r\nOS: darwin x64\r\nAngular: 5.1.0\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, platform-server, router\r\n\r\n@angular/cli: 1.6.0\r\n@angular-devkit/build-optimizer: 0.0.35\r\n@angular-devkit/core: 0.0.22\r\n@angular-devkit/schematics: 0.0.41\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.9.0\r\n@schematics/angular: 0.1.10\r\n@schematics/schematics: 0.0.10\r\ntypescript: 2.4.2\r\nwebpack: 3.10.0\r\n```\r\n\r\n### Repro steps\r\n```\r\nng new testApp --routing\r\nng generate universal testAppUniversal\r\nnpm install\r\nng generate app-shell --universal-app test-app-universal\r\n```\r\n\r\n\r\n### Observed behavior\r\n```\r\nCannot read property 'split' of undefined\r\n```\r\n\r\n### Desired behavior\r\nCreate app-shell infrastructure\r\n\r\n\r\n### Mention any other details that might be useful (optional)\r\nThe problem is - according to its schematics, `ng generate app-shell` expects the _name_ of app-shell, which is unneeded. So if you run this like `ng generate app-shell myShell` it works fine, and this `myShell` never used/mentioned in the resulting code. This could be a temporary workaround.\r\n","author":{"url":"https://github.com/webmaxru","@type":"Person","name":"webmaxru"},"datePublished":"2017-12-07T22:50:58Z","url":"https://github.com/angular/angular-cli/issues/8793"}
| 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:9a64d20d-bc3f-2b78-a808-2265b63c8190 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87E4:2D2F2F:120F02F:1738C2F:6B010D69 |
| html-safe-nonce | 663262291cd6b717d758258ab976c30b7c053f02199bb46e3070113a3e00a8d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0U0OjJEMkYyRjoxMjBGMDJGOjE3MzhDMkY6NkIwMTBENjkiLCJ2aXNpdG9yX2lkIjoiODY0NzI0NjMxMDk3NTU0MDU4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3c18b907fa617dcbb4292370826650e78ba29eea42995eb7106966ecf5c29247 |
| hovercard-subject-tag | issue:280307720 |
| 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/8793/issue_layout |
| twitter:image | https://opengraph.githubassets.com/998221f6ff68b5fd6d7f0bce900a57cf06196aee1531c3620d83b1152c6ee418/angular/angular-cli/issues/8793 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/998221f6ff68b5fd6d7f0bce900a57cf06196aee1531c3620d83b1152c6ee418/angular/angular-cli/issues/8793 |
| og:image:alt | Versions Angular CLI: 1.6.0 Node: 8.2.1 OS: darwin x64 Angular: 5.1.0 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | webmaxru |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width