Title: Inconsistency with Angular universal guide · Issue #12795 · angular/angular-cli · GitHub
Open Graph Title: Inconsistency with Angular universal guide · Issue #12795 · angular/angular-cli
X Title: Inconsistency with Angular universal guide · Issue #12795 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [ ] test - [ ] e2e - [x] generate - [ ] add - [ ...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [ ] test...
X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [ ] t...
Opengraph URL: https://github.com/angular/angular-cli/issues/12795
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistency with Angular universal guide","articleBody":"### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Command (mark with an `x`)\r\n```\r\n- [ ] new\r\n- [ ] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [x] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Versions\r\n```\r\nAngular CLI: 7.0.3\r\nNode: 8.11.2\r\nOS: win32 x64\r\nAngular: 7.0.1\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\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.10.3\r\n@angular-devkit/build-angular 0.10.3\r\n@angular-devkit/build-optimizer 0.10.3\r\n@angular-devkit/build-webpack 0.10.3\r\n@angular-devkit/core 7.0.3\r\n@angular-devkit/schematics 7.0.3\r\n@angular/cli 7.0.3\r\n@ngtools/webpack 7.0.3\r\n@schematics/angular 7.0.3\r\n@schematics/update 0.10.3\r\nrxjs 6.3.3\r\ntypescript 3.1.3\r\nwebpack 4.19.1\r\n```\r\n\r\n\r\n### Repro steps\r\n```\r\n>ng n test-app\r\n? Would you like to add Angular routing? Yes\r\n? Which stylesheet format would you like to use? SCSS [ http://sass-lang.com ]\r\n>cd test-app\r\n>ng g universal --clientProject=test-app\r\n```\r\n\r\n### The log given by the failure\r\n`ng g universal` does not generate server.ts, webpack.server.ts and does not produce additional package.json commands for universal build as mentioned in https://angular.io/guide/universal\r\n\r\n\r\n### Desired functionality\r\nUpon using this command, I expect fully functional universal app to be generated. But if such behavior is intended, then probably a proper `ng g universal` [documentation is required](https://angular.io/cli/generate#universal-command): maybe I just mixed up its use-cases? What should it generate? How to use output result?\r\n","author":{"url":"https://github.com/kirill-chirkov-at-clouty","@type":"Person","name":"kirill-chirkov-at-clouty"},"datePublished":"2018-10-29T15:03:52Z","url":"https://github.com/angular/angular-cli/issues/12795"}
| 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:9ed28df1-9cd0-4118-8b8a-05c842bfe6c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E772:2BE220:155A8DD:1C8558B:6B01371D |
| html-safe-nonce | b48c9f0b75b3d4ea8656861216881af14f6adf49abe456a0ae497d1bc10f6a63 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzcyOjJCRTIyMDoxNTVBOEREOjFDODU1OEI6NkIwMTM3MUQiLCJ2aXNpdG9yX2lkIjoiNTk2OTAzOTA5OTAxMTYxMDM5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cfd84f0e16e4d8c84320a7d23d8119ea19df83847ffac965389f370f6dd01a53 |
| hovercard-subject-tag | issue:375061075 |
| 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/12795/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7039860dbaf09dab209526f0de3b978489aade71d2193c77214f324f7e24be43/angular/angular-cli/issues/12795 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7039860dbaf09dab209526f0de3b978489aade71d2193c77214f324f7e24be43/angular/angular-cli/issues/12795 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [ ] test... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kirill-chirkov-at-clouty |
| 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