Title: ng serve --aot is not running in 6.0.0-rc.5 · Issue #10384 · angular/angular-cli · GitHub
Open Graph Title: ng serve --aot is not running in 6.0.0-rc.5 · Issue #10384 · angular/angular-cli
X Title: ng serve --aot is not running in 6.0.0-rc.5 · Issue #10384 · angular/angular-cli
Description: Versions _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Ang...
Open Graph Description: Versions _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__...
X Description: Versions _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\...
Opengraph URL: https://github.com/angular/angular-cli/issues/10384
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng serve --aot is not running in 6.0.0-rc.5 ","articleBody":"\r\n### Versions\r\n```\r\n _ _ ____ _ ___\r\n / \\ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|\r\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__| | | | | | |\r\n / ___ \\| | | | (_| | |_| | | (_| | | | |___| |___ | |\r\n /_/ \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_| \\____|_____|___|\r\n |___/\r\n \r\n\r\nAngular CLI: 6.0.0-rc.5\r\nNode: 9.3.0\r\nOS: darwin x64\r\nAngular: 6.0.0-rc.5\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... http, platform-browser, platform-browser-dynamic, router\r\n\r\nPackage Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect 0.5.7\r\n@angular-devkit/build-angular 0.5.7\r\n@angular-devkit/build-optimizer 0.5.7\r\n@angular-devkit/core 0.5.7\r\n@angular-devkit/schematics 0.5.7\r\n@angular/cdk 6.0.0-rc.12\r\n@angular/language-service 5.2.10\r\n@angular/material 6.0.0-rc.12\r\n@angular/material-moment-adapter 5.2.5\r\n@ngtools/json-schema 1.1.0\r\n@ngtools/webpack 6.0.0-rc.5\r\n@schematics/angular 0.5.7\r\n@schematics/update 0.5.7\r\nrxjs 6.0.0-uncanny-rc.7\r\ntypescript 2.7.2\r\nwebpack 4.5.0\r\n\r\nnpm: 5.8.0\r\nnode: v9.3.0.\r\n\r\nmacOS (Sierra)\r\n```\r\n\r\n### Repro steps\r\nnpm uninstall -g @angular/cli\r\nnpm cache verify\r\nnpm install -g @angular/cli@next\r\n\r\nrm -rf node_modules dist \r\nnpm install --save-dev @angular/cli@next\r\nnpm install\r\n\r\n\r\n### Observed behavior\r\n```\r\nng build --aot works fine, ng serve -- aot does not work,\r\n\r\n> Unknown option: '--aot'\r\n\r\n\r\n```\r\n\r\n### Desired behavior\r\n\r\nI want to be able to run the following using npm start,\r\n\r\n`ng serve --aot --ssl --proxy-config proxy.config.json\r\n`\r\n\r\n```\r\nMy package.json,\r\n\r\n{\r\n \"name\": \"quickstart-angular5\",\r\n \"version\": \"5.0.5\",\r\n \"license\": \"MIT\",\r\n \"scripts\": {\r\n \"ng\": \"ng\",\r\n \"start\": \"ng serve --prod --ssl --proxy-config proxy.config.json\",\r\n \"build\": \"run-s build:client build:aot build:server\",\r\n \"build:client\": \"ng build --prod --build-optimizer --app 0\",\r\n \"build:aot\": \"ng build --aot --app 1\",\r\n \"build:server\": \"webpack -p\",\r\n \"test\": \"ng test\",\r\n \"lint\": \"ng lint\",\r\n \"e2e\": \"ng e2e\",\r\n \"build:free\": \"ngm build -p src/app/typescripts/free --clean && gulp npmFree && gulp startFree && gulp onlyFree\",\r\n \"build:pro\": \"ngm build -p src/app/typescripts/pro --clean && gulp only-pro && gulp startPro\",\r\n \"build:all\": \"npm run build:free && npm run build:pro\",\r\n \"aot:build\": \"ng build --prod --sm=false --aot=true --output-path=dist\",\r\n \"pre-commit\": \"ng lint\"\r\n },\r\n \"private\": true,\r\n \"dependencies\": {\r\n \"@agm/core\": \"^1.0.0-beta.2\",\r\n \"@angular/animations\": \"^6.0.0-rc.0\",\r\n \"@angular/cdk\": \"^6.0.0-beta.5\",\r\n \"@angular/common\": \"^6.0.0-rc.0\",\r\n \"@angular/compiler\": \"^6.0.0-rc.0\",\r\n \"@angular/core\": \"^6.0.0-rc.0\",\r\n \"@angular/forms\": \"^6.0.0-rc.0\",\r\n \"@angular/http\": \"^6.0.0-rc.0\",\r\n \"@angular/material\": \"^6.0.0-beta.5\",\r\n \"@angular/material-moment-adapter\": \"^5.2.5\",\r\n \"@angular/platform-browser\": \"^6.0.0-rc.0\",\r\n \"@angular/platform-browser-dynamic\": \"^6.0.0-rc.0\",\r\n \"@angular/platform-server\": \"^5.2.10\",\r\n \"@angular/router\": \"^6.0.0-rc.0\",\r\n \"@auth0/angular-jwt\": \"^1.1.0\",\r\n \"@ng-bootstrap/ng-bootstrap\": \"1.0.0-beta.5\",\r\n \"@ngrx/core\": \"^1.2.0\",\r\n \"@ngrx/effects\": \"^4.1.1\",\r\n \"@ngrx/entity\": \"^4.1.1\",\r\n \"@ngrx/router-store\": \"^4.1.1\",\r\n \"@ngrx/store\": \"^4.1.1\",\r\n \"@ngrx/store-devtools\": \"^4.1.1\",\r\n \"@swimlane/ngx-datatable\": \"^11.3.2\",\r\n \"@types/googlemaps\": \"^3.30.8\",\r\n \"angular-bootstrap-md\": \"^5.2.3\",\r\n \"angular2-cookie\": \"^1.2.6\",\r\n \"angular2-jwt\": \"^0.2.3\",\r\n \"angular2-uuid\": \"^1.1.1\",\r\n \"chart.js\": \"^2.7.2\",\r\n \"classlist.js\": \"1.1.x\",\r\n \"core-js\": \"^2.5.3\",\r\n \"del\": \"3.0.x\",\r\n \"easy-pie-chart\": \"^2.1.7\",\r\n \"effect\": \"^1.0.4\",\r\n \"eslint\": \"^4.19.1\",\r\n \"express\": \"^4.16.3\",\r\n \"font-awesome\": \"^4.7.0\",\r\n \"g\": \"^2.0.1\",\r\n \"gulp\": \"^3.9.1\",\r\n \"gulp-rename\": \"1.2.x\",\r\n \"gulp-run\": \"1.7.x\",\r\n \"hammerjs\": \"^2.0.8\",\r\n \"karma-jasmine\": \"^1.1.1\",\r\n \"moment\": \"^2.22.1\",\r\n \"ng-html-util\": \"1.0.x\",\r\n \"ng-http-loader\": \"^0.6.0\",\r\n \"ng-mdb-pro\": \"****************\",\r\n \"ngm-cli\": \"0.5.x\",\r\n \"ngrx-store-freeze\": \"^0.2.2\",\r\n \"ngrx-store-localstorage\": \"^0.2.4\",\r\n \"ngrx-store-logger\": \"^0.2.1\",\r\n \"npm\": \"^5.8.0\",\r\n \"raven-js\": \"^3.24.1\",\r\n \"reselect\": \"^3.0.1\",\r\n \"rxjs\": \"^6.0.0-beta.1\",\r\n \"rxjs-compat\": \"^6.0.0-uncanny-rc.7\",\r\n \"screenfull\": \"^3.3.2\",\r\n \"smoothscroll-polyfill\": \"0.3.x\",\r\n \"stacktrace-js\": \"^2.0.0\",\r\n \"systemjs\": \"^0.20.19\",\r\n \"web-animations-js\": \"2.3.x\",\r\n \"zone.js\": \"^0.8.26\"\r\n },\r\n \"devDependencies\": {\r\n \"@angular-devkit/build-angular\": \"~0.5.0\",\r\n \"@angular/cli\": \"^6.0.0-rc.5\",\r\n \"@angular/common\": \"^5.2.6\",\r\n \"@angular/compiler-cli\": \"^6.0.0-rc.0\",\r\n \"@angular/core\": \"^5.2.6\",\r\n \"@angular/http\": \"^5.2.6\",\r\n \"@angular/language-service\": \"^5.2.10\",\r\n \"@compodoc/compodoc\": \"^1.1.2\",\r\n \"@types/jasmine\": \"2.5.38\",\r\n \"@types/node\": \"^6.0.103\",\r\n \"angular-router-loader\": \"^0.8.3\",\r\n \"codelyzer\": \"~2.0.0\",\r\n \"jasmine-core\": \"~2.5.2\",\r\n \"jasmine-spec-reporter\": \"~3.2.0\",\r\n \"karma\": \"~1.4.1\",\r\n \"karma-chrome-launcher\": \"~2.0.0\",\r\n \"karma-cli\": \"~1.0.1\",\r\n \"karma-coverage-istanbul-reporter\": \"^0.2.0\",\r\n \"karma-jasmine\": \"~1.1.0\",\r\n \"karma-jasmine-html-reporter\": \"^0.2.2\",\r\n \"npm-run-all\": \"^4.1.2\",\r\n \"postcss-loader\": \"^2.1.3\",\r\n \"protractor\": \"~5.1.0\",\r\n \"ts-node\": \"~5.0.0\",\r\n \"tslint\": \"~5.9.1\",\r\n \"typescript\": \"^2.7.2\",\r\n \"webpack-cli\": \"^2.0.14\",\r\n \"webpack-node-externals\": \"^1.7.2\"\r\n }\r\n}\r\n\r\n```\r\n","author":{"url":"https://github.com/ConClavi","@type":"Person","name":"ConClavi"},"datePublished":"2018-04-19T05:32:54Z","url":"https://github.com/angular/angular-cli/issues/10384"}
| 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:8d818f50-870b-8cf1-7d0d-6ab0496ae990 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F0C:2D2F2F:32351A8:400EB67:6B01C5E3 |
| html-safe-nonce | 4cabd994b4c9564c60e3c882025041533ec6cc2bbe5b7fcc92667d40fe02c897 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjBDOjJEMkYyRjozMjM1MUE4OjQwMEVCNjc6NkIwMUM1RTMiLCJ2aXNpdG9yX2lkIjoiOTA2MjIyNTg5MjIwMTMxNzg1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8abd897758351c0ae90a34a981018ea6fe67daa3b3353b660f02799cef4ff4a6 |
| hovercard-subject-tag | issue:315733358 |
| 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/10384/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d7bde0139de6a23f79e75fb524c92222a229525189ac87c5be2ef701db01dec/angular/angular-cli/issues/10384 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d7bde0139de6a23f79e75fb524c92222a229525189ac87c5be2ef701db01dec/angular/angular-cli/issues/10384 |
| og:image:alt | Versions _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ConClavi |
| 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