René's URL Explorer Experiment


Title: --app option missing in version 6.0.0 · Issue #10743 · angular/angular-cli · GitHub

Open Graph Title: --app option missing in version 6.0.0 · Issue #10743 · angular/angular-cli

X Title: --app option missing in version 6.0.0 · Issue #10743 · angular/angular-cli

Description: Versions Angular CLI: 6.0.0 Node: 8.10.0 OS: darwin x64 Angular: 6.0.0 ... animations, cli, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router Package Version ---...

Open Graph Description: Versions Angular CLI: 6.0.0 Node: 8.10.0 OS: darwin x64 Angular: 6.0.0 ... animations, cli, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-bro...

X Description: Versions Angular CLI: 6.0.0 Node: 8.10.0 OS: darwin x64 Angular: 6.0.0 ... animations, cli, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-bro...

Opengraph URL: https://github.com/angular/angular-cli/issues/10743

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"--app option missing in version 6.0.0","articleBody":"### Versions\r\n```\r\nAngular CLI: 6.0.0\r\nNode: 8.10.0\r\nOS: darwin x64\r\nAngular: 6.0.0\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.6.0\r\n@angular-devkit/build-angular     0.6.0\r\n@angular-devkit/build-optimizer   0.6.0\r\n@angular-devkit/core              0.6.0\r\n@angular-devkit/schematics        0.6.0\r\n@ngtools/webpack                  6.0.0\r\n@schematics/angular               0.6.0\r\n@schematics/update                0.6.0\r\nrxjs                              6.1.0\r\ntypescript                        2.7.2\r\nwebpack                           4.6.0\r\n```\r\n\r\n### Repro steps\r\nUsing the steps described in https://yakovfain.com/2017/04/06/angular-cli-multiple-apps-in-the-same-project/ I used multiple apps in my .angular-cli.json file. With version 1.7.3 I was able to use the following command to serve an individual app:\r\n```\r\nng serve --app app0\r\n```\r\nAfter updating to Angular Cli 6.0.0, the option is now missing with the new structure of the angular.json file. Also the option is missing in the documentation: https://github.com/angular/angular-cli/blob/master/docs/documentation/serve.md\r\n\r\n\r\n### Observed behavior\r\n```\r\nUnknown option: '--app'\r\n```\r\n\r\n### Desired behavior\r\nI would like to serve a specific app (or rather project with the new terminology in the angular.json file) similar to the way I used to with @angular/cli 1.7.3.\r\n\r\n### Mention any other details that might be useful (optional)\r\nAfter updating from 1.7.3 to 6.0.0 I ran\r\n```\r\nng update @angular/cli\r\n```\r\nwhich migrated the old .angular-cli.json to the new format in the .angular.json file. My angular.json file looks like this:\r\n\r\n```\r\n{\r\n  \"$schema\": \"./node_modules/@angular/cli/lib/config/schema.json\",\r\n  \"version\": 1,\r\n  \"newProjectRoot\": \"src\",\r\n  \"projects\": {\r\n    \"app0\": {\r\n      \"root\": \"\",\r\n      \"sourceRoot\": \"src\",\r\n      \"projectType\": \"application\",\r\n      \"architect\": {\r\n        \"build\": {\r\n          \"builder\": \"@angular-devkit/build-angular:browser\",\r\n          \"options\": {\r\n            \"outputPath\": \"dist/app0\",\r\n            \"index\": \"src/app-app0/index.html\",\r\n            \"main\": \"src/app-app0/main.ts\",\r\n            \"tsConfig\": \"src/tsconfig.app.json\",\r\n            \"polyfills\": \"src/polyfills.ts\",\r\n            \"assets\": [\r\n              \"src/app-app0/assets\"\r\n            ],\r\n            \"styles\": [\r\n              \"src/styles-shared.scss\",\r\n              \"src/bootstrap-customizations.scss\"\r\n            ],\r\n            \"scripts\": []\r\n          },\r\n          \"configurations\": {\r\n            \"production\": {\r\n              \"optimization\": true,\r\n              \"outputHashing\": \"all\",\r\n              \"sourceMap\": false,\r\n              \"extractCss\": true,\r\n              \"namedChunks\": false,\r\n              \"aot\": true,\r\n              \"extractLicenses\": true,\r\n              \"vendorChunk\": false,\r\n              \"buildOptimizer\": true,\r\n              \"fileReplacements\": [\r\n                {\r\n                  \"replace\": \"src/environments/environment.ts\",\r\n                  \"with\": \"src/environments/environment.prod.ts\"\r\n                }\r\n              ]\r\n            }\r\n          }\r\n        },\r\n        \"serve\": {\r\n          \"builder\": \"@angular-devkit/build-angular:dev-server\",\r\n          \"options\": {\r\n            \"browserTarget\": \"app0:build\",\r\n            \"proxyConfig\": \"./proxy.conf.json\"\r\n          },\r\n          \"configurations\": {\r\n            \"production\": {\r\n              \"browserTarget\": \"app0:build:production\"\r\n            }\r\n          }\r\n        },\r\n        \"extract-i18n\": {\r\n          \"builder\": \"@angular-devkit/build-angular:extract-i18n\",\r\n          \"options\": {\r\n            \"browserTarget\": \"app0:build\"\r\n          }\r\n        },\r\n        \"test\": {\r\n          \"builder\": \"@angular-devkit/build-angular:karma\",\r\n          \"options\": {\r\n            \"main\": \"src/test.ts\",\r\n            \"karmaConfig\": \"./karma.conf.js\",\r\n            \"polyfills\": \"src/polyfills.ts\",\r\n            \"tsConfig\": \"src/tsconfig.spec.json\",\r\n            \"scripts\": [],\r\n            \"styles\": [\r\n              \"src/styles-shared.scss\",\r\n              \"src/bootstrap-customizations.scss\"\r\n            ],\r\n            \"assets\": [\r\n              \"src/app-app0/assets\"\r\n            ]\r\n          }\r\n        },\r\n        \"lint\": {\r\n          \"builder\": \"@angular-devkit/build-angular:tslint\",\r\n          \"options\": {\r\n            \"tsConfig\": [\r\n              \"src/tsconfig.app.json\",\r\n              \"src/tsconfig.spec.json\"\r\n            ],\r\n            \"exclude\": [\r\n              \"**/node_modules/**\"\r\n            ]\r\n          }\r\n        }\r\n      }\r\n    },\r\n    \"app1\": {\r\n      \"root\": \"\",\r\n      \"sourceRoot\": \"src\",\r\n      \"projectType\": \"application\",\r\n      \"architect\": {\r\n        \"build\": {\r\n          \"builder\": \"@angular-devkit/build-angular:browser\",\r\n          \"options\": {\r\n            \"outputPath\": \"dist/app1\",\r\n            \"index\": \"src/app-app1/index.html\",\r\n            \"main\": \"src/app-app1/main.ts\",\r\n            \"tsConfig\": \"src/tsconfig.app.json\",\r\n            \"polyfills\": \"src/polyfills.ts\",\r\n            \"assets\": [\r\n              \"src/app-app1/assets\"\r\n            ],\r\n            \"styles\": [\r\n              \"src/styles-shared.scss\",\r\n              \"src/bootstrap-customizations.scss\"\r\n            ],\r\n            \"scripts\": []\r\n          },\r\n          \"configurations\": {\r\n            \"production\": {\r\n              \"optimization\": true,\r\n              \"outputHashing\": \"all\",\r\n              \"sourceMap\": false,\r\n              \"extractCss\": true,\r\n              \"namedChunks\": false,\r\n              \"aot\": true,\r\n              \"extractLicenses\": true,\r\n              \"vendorChunk\": false,\r\n              \"buildOptimizer\": true,\r\n              \"fileReplacements\": [\r\n                {\r\n                  \"replace\": \"src/environments/environment.ts\",\r\n                  \"with\": \"src/environments/environment.prod.ts\"\r\n                }\r\n              ]\r\n            }\r\n          }\r\n        },\r\n        \"serve\": {\r\n          \"builder\": \"@angular-devkit/build-angular:dev-server\",\r\n          \"options\": {\r\n            \"browserTarget\": \"app1:build\",\r\n            \"proxyConfig\": \"./proxy.conf.json\"\r\n          },\r\n          \"configurations\": {\r\n            \"production\": {\r\n              \"browserTarget\": \"app1:build:production\"\r\n            }\r\n          }\r\n        },\r\n        \"extract-i18n\": {\r\n          \"builder\": \"@angular-devkit/build-angular:extract-i18n\",\r\n          \"options\": {\r\n            \"browserTarget\": \"app1:build\"\r\n          }\r\n        },\r\n        \"test\": {\r\n          \"builder\": \"@angular-devkit/build-angular:karma\",\r\n          \"options\": {\r\n            \"main\": \"src/test.ts\",\r\n            \"karmaConfig\": \"./karma.conf.js\",\r\n            \"polyfills\": \"src/polyfills.ts\",\r\n            \"tsConfig\": \"src/tsconfig.spec.json\",\r\n            \"scripts\": [],\r\n            \"styles\": [\r\n              \"src/styles-shared.scss\",\r\n              \"src/bootstrap-customizations.scss\"\r\n            ],\r\n            \"assets\": [\r\n              \"src/app-app1/assets\"\r\n            ]\r\n          }\r\n        },\r\n        \"lint\": {\r\n          \"builder\": \"@angular-devkit/build-angular:tslint\",\r\n          \"options\": {\r\n            \"tsConfig\": [\r\n              \"src/tsconfig.app.json\",\r\n              \"src/tsconfig.spec.json\"\r\n            ],\r\n            \"exclude\": [\r\n              \"**/node_modules/**\"\r\n            ]\r\n          }\r\n        }\r\n      }\r\n    }\r\n  },\r\n  \"defaultProject\": \"app1\",\r\n  \"schematics\": {\r\n    \"@schematics/angular:component\": {\r\n      \"spec\": false,\r\n      \"changeDetection\": \"OnPush\",\r\n      \"prefix\": \"app\",\r\n      \"styleext\": \"scss\"\r\n    },\r\n    \"@schematics/angular:directive\": {\r\n      \"prefix\": \"app\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n","author":{"url":"https://github.com/mircowidmer","@type":"Person","name":"mircowidmer"},"datePublished":"2018-05-09T07:32:46Z","url":"https://github.com/angular/angular-cli/issues/10743"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a94dfd19-c2e9-0bc5-aaf2-6d2ad79ed831
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD912:65478:185560A:204880C:6B0142ED
html-safe-noncefed8b1daebb8872842d5a81a1607871ea6021a31d821b66c9fd9e1e99b8672c1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTEyOjY1NDc4OjE4NTU2MEE6MjA0ODgwQzo2QjAxNDJFRCIsInZpc2l0b3JfaWQiOiI2NDIyMDYzNTMwNjEwMDgyNTQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6b3bb314adf9fe1b41c09b2bf0cecf65292e3c1480369b8696f7d3e9a911da56
hovercard-subject-tagissue:321461547
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/10743/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d41918dff01d74b69d414e20ad31a7c9ba306474fc5f3e3788ac1648c1b1c144/angular/angular-cli/issues/10743
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d41918dff01d74b69d414e20ad31a7c9ba306474fc5f3e3788ac1648c1b1c144/angular/angular-cli/issues/10743
og:image:altVersions Angular CLI: 6.0.0 Node: 8.10.0 OS: darwin x64 Angular: 6.0.0 ... animations, cli, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-bro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemircowidmer
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/10743#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F10743
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F10743
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/10743
Reloadhttps://github.com/angular/angular-cli/issues/10743
Reloadhttps://github.com/angular/angular-cli/issues/10743
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/10743
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/10743
--app option missing in version 6.0.0https://github.com/angular/angular-cli/issues/10743#top
https://github.com/mircowidmer
mircowidmerhttps://github.com/mircowidmer
on May 9, 2018https://github.com/angular/angular-cli/issues/10743#issue-321461547
https://yakovfain.com/2017/04/06/angular-cli-multiple-apps-in-the-same-project/https://yakovfain.com/2017/04/06/angular-cli-multiple-apps-in-the-same-project/
https://github.com/angular/angular-cli/blob/master/docs/documentation/serve.mdhttps://github.com/angular/angular-cli/blob/master/docs/documentation/serve.md
https://github.com/mircowidmer
mircowidmerhttps://github.com/mircowidmer
on May 9, 2018https://github.com/angular/angular-cli/issues/10743#issuecomment-387657212
https://medium.com/@beeman/how-to-do-x-in-angular-cli-v6-db7530c23066https://medium.com/@beeman/how-to-do-x-in-angular-cli-v6-db7530c23066
https://github.com/GeorgeKnap
GeorgeKnaphttps://github.com/GeorgeKnap
on May 9, 2018https://github.com/angular/angular-cli/issues/10743#issuecomment-387768863
wikihttps://github.com/angular/angular-cli/wiki/build#options
Universal Renderinghttps://github.com/angular/angular-cli/wiki/build#options
Building the bundlehttps://github.com/angular/angular-cli/wiki/build#options
https://github.com/mircowidmer
mircowidmerhttps://github.com/mircowidmer
on May 9, 2018https://github.com/angular/angular-cli/issues/10743#issuecomment-387783048
@GeorgeKnaphttps://github.com/GeorgeKnap
https://github.com/angular/angular-cli/blob/master/docs/documentation/serve.mdhttps://github.com/angular/angular-cli/blob/master/docs/documentation/serve.md
https://github.com/angular/angular-cli/blob/master/docs/documentation/build.mdhttps://github.com/angular/angular-cli/blob/master/docs/documentation/build.md
https://github.com/clydin
clydinhttps://github.com/clydin
on May 9, 2018https://github.com/angular/angular-cli/issues/10743#issuecomment-387787582
https://github.com/clydin
clydinhttps://github.com/clydin
on May 10, 2018https://github.com/angular/angular-cli/issues/10743#issuecomment-387913114
clydinhttps://github.com/clydin
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 10, 2018https://github.com/angular/angular-cli/issues/10743#event-1618827342
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 8, 2019https://github.com/angular/angular-cli/issues/10743#issuecomment-529171731
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 8, 2019https://github.com/angular/angular-cli/issues/10743#event-2616568551
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/10743
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/10743
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.