Title: Docs Angular universal use --app which is no longer supported · Issue #28018 · angular/angular · GitHub
Open Graph Title: Docs Angular universal use --app which is no longer supported · Issue #28018 · angular/angular
X Title: Docs Angular universal use --app which is no longer supported · Issue #28018 · angular/angular
Description: 📚 Docs or angular.io bug report Description The script referenced in this chapter uses the option --app which is no longer supported in the Angular CLI. This results in an error Unknown option: '--app' The full command in the script is: ...
Open Graph Description: 📚 Docs or angular.io bug report Description The script referenced in this chapter uses the option --app which is no longer supported in the Angular CLI. This results in an error Unknown option: '--...
X Description: 📚 Docs or angular.io bug report Description The script referenced in this chapter uses the option --app which is no longer supported in the Angular CLI. This results in an error Unknown option: ...
Opengraph URL: https://github.com/angular/angular/issues/28018
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Docs Angular universal use --app which is no longer supported","articleBody":"# 📚 Docs or angular.io bug report\r\n\r\n### Description\r\n\r\nThe script referenced in [this](https://v6.angular.io/guide/universal#creating-scripts) chapter uses the option `--app` which is no longer supported in the Angular CLI. This results in an error `Unknown option: '--app'`\r\n\r\nThe full command in the script is:\r\n```\r\nng build --prod && ng build --prod --app 1 --output-hashing=false\r\n```\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\n```\r\nng build --prod --app 1\r\n```\r\n\r\n### What's the affected URL?**\r\nhttps://v6.angular.io/guide/universal#creating-scripts\r\n\r\nThe latest version of the docs also mention the same command. While I haven't tried it, I assume `--app` wasn't reintroduced, so this should be updated as well.\r\n\r\n### Reproduction Steps**\r\nFollow all the steps up to and including Step 5 in the referenced document.\r\n\r\n## 📷Screenshot\r\n\r\n\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\nUnknown option: '--app'\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! cirquel-library@0.0.0 build:client-and-server-bundles: `ng build --prod && ng build --prod --app 1 --output-hashing=false`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the cirquel-library@0.0.0 build:client-and-server-bundles script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /home/coo/.npm/_logs/2019-01-09T16_11_09_686Z-debug.log\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! cirquel-library@0.0.0 build:ssr: `npm run build:client-and-server-bundles && npm run webpack:server`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the cirquel-library@0.0.0 build:ssr script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /home/coo/.npm/_logs/2019-01-09T16_11_09_703Z-debug.log\r\n\u003c/code>\u003c/pre>\r\n\r\n\r\n## 🌍 Your Environment\r\n\r\nI'm using ubuntu 18.04\r\nNode v8.11.3\r\nnpm 6.5.0\r\nAngular CLI: 6.1.5\r\nNode: 8.11.3\r\nOS: linux x64\r\nAngular: 6.1.10\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.7.5\r\n@angular-devkit/build-angular 0.7.5\r\n@angular-devkit/build-optimizer 0.7.5\r\n@angular-devkit/build-webpack 0.7.5\r\n@angular-devkit/core 0.7.5\r\n@angular-devkit/schematics 0.7.5\r\n@angular/cli 6.1.5\r\n@ngtools/webpack 6.1.5\r\n@schematics/angular 0.7.5\r\n@schematics/update 0.7.5\r\nrxjs 6.3.3\r\ntypescript 2.7.2\r\nwebpack 4.9.2\r\n\r\n","author":{"url":"https://github.com/c00","@type":"Person","name":"c00"},"datePublished":"2019-01-09T16:14:44Z","url":"https://github.com/angular/angular/issues/28018"}
| 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:1219da2c-b955-1572-3a22-ba7caf4e6520 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E10C:EA09B:174CA5B:1EDCA3C:6B013FAD |
| html-safe-nonce | d8005010a203862396008fc942da1dec774cf9c9dc56392ed2ad9b76c0284906 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTBDOkVBMDlCOjE3NENBNUI6MUVEQ0EzQzo2QjAxM0ZBRCIsInZpc2l0b3JfaWQiOiIxOTUxOTA4NjcxODM5NjE2OTQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 20c10b0ba3852239d510e53479434333f00843a906e5b718cdbb077b5ed2f43b |
| hovercard-subject-tag | issue:397444461 |
| 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/28018/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6927a242024f081bc29f5f6133ce85cf5009bdbeb0f613a0a734d1e7bf518527/angular/angular/issues/28018 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6927a242024f081bc29f5f6133ce85cf5009bdbeb0f613a0a734d1e7bf518527/angular/angular/issues/28018 |
| og:image:alt | 📚 Docs or angular.io bug report Description The script referenced in this chapter uses the option --app which is no longer supported in the Angular CLI. This results in an error Unknown option: '--... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | c00 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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