Title: Error message still is wrong · Issue #28904 · angular/angular-cli · GitHub
Open Graph Title: Error message still is wrong · Issue #28904 · angular/angular-cli
X Title: Error message still is wrong · Issue #28904 · angular/angular-cli
Description: Command serve Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description As stated in the other issues, the error message indicates tha...
Open Graph Description: Command serve Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description As stated in the other...
X Description: Command serve Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description As stated in the other...
Opengraph URL: https://github.com/angular/angular-cli/issues/28904
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error message still is wrong","articleBody":"### Command\n\nserve\n\n### Is this a regression?\n\n- [ ] Yes, this behavior used to work in the previous version\n\n### The previous version in which this bug was not present was\n\n_No response_\n\n### Description\n\nAs stated in the other issues, the error message indicates that there is an incompatibility with browser version constraints, mentioning a \"target environment\" and listing browser versions. But the actual reason (a bug in zone.js) has nothing to do with browser constraints.\nIn case your goal is not to make devs lose many days trying to remove browser constraints that aren't there, this should be fixed.\n\n### Minimal Reproduction\n\n```ts\nimport languageIds from '../assets/langages.json';\nexport {languageIds};\nconst translations: Readonly\u003cRecord\u003cstring, Readonly\u003cRecord\u003cstring, string\u003e\u003e\u003e\u003e = Object.fromEntries(await Promise.all(\n languageIds.map(async (languageId) =\u003e (\n [languageId, await import(`../assets/languages/${languageId}.json`)]\n))));\n```\nWith the required JSON files, followed by `ng serve` or `ng build`.\n\n### Exception or Error\n\n```text\nX [ERROR] Top-level await is not available in the configured target environment (\"chrome129.0\", \"edge129.0\", \"firefox115.0\", \"ios17.0\", \"node22.0.0\", \"safari17.0\" + 5 overrides)\n\n src/configuration.ts:5:40:\n 5 │ ...slations = Object.fromEntries(await Promise.all(languageIds.map(...\n ╵ ~~~~~\n```\n\n### Your Environment\n\n```text\n_ _ ____ _ ___\n / \\ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__| | | | | | |\n / ___ \\| | | | (_| | |_| | | (_| | | | |___| |___ | |\n /_/ \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_| \\____|_____|___|\n |___/\n \n\nAngular CLI: 18.2.12\nNode: 20.18.0\nPackage Manager: npm 10.9.0\nOS: win32 x64\n\nAngular: 18.2.12\n... animations, cli, common, compiler, compiler-cli, core, forms\n... platform-browser, platform-browser-dynamic, platform-server\n... router, ssr\n\nPackage Version\n---------------------------------------------------------\n@angular-devkit/architect 0.1802.12\n@angular-devkit/build-angular 18.2.12\n@angular-devkit/core 18.2.12\n@angular-devkit/schematics 18.2.12\n@schematics/angular 18.2.12\nrxjs 7.8.1\ntypescript 5.5.4\nzone.js 0.14.10\n```\n\n### Anything else relevant?\n\n_No response_","author":{"url":"https://github.com/Gouvernathor","@type":"Person","name":"Gouvernathor"},"datePublished":"2024-11-20T10:13:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/28904/angular-cli/issues/28904"}
| 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:68f8ef2c-ec1b-575c-afed-35b310e21c9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1F2:1D4720:85D437:BFFDDB:6A637F03 |
| html-safe-nonce | 766e7530872770fe6852a7961323da083920904561e95bf6cf9c434d982dde53 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUYyOjFENDcyMDo4NUQ0Mzc6QkZGRERCOjZBNjM3RjAzIiwidmlzaXRvcl9pZCI6IjE2NTM3MDMwNDUxNTQwNDU2OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 152825a9e935e758f0f0c9421521b946ef9bcf777970868c98e5dae5f967ff41 |
| hovercard-subject-tag | issue:2675303331 |
| 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/28904/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af9cadf6ad63de5fa0bdfa4c78dfea3308ed45b7ce7a5ca381d5e21c7ef6cf91/angular/angular-cli/issues/28904 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af9cadf6ad63de5fa0bdfa4c78dfea3308ed45b7ce7a5ca381d5e21c7ef6cf91/angular/angular-cli/issues/28904 |
| og:image:alt | Command serve Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was No response Description As stated in the other... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Gouvernathor |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4c1de337de00c7969335f8866af41463301071379a3a15fba12e9b85aa6378d6 |
| 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 | a4df32552e4c631011bdcd4c81cc3d7408664a8b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width