René's URL Explorer Experiment


Title: Angular 8 error on Safari 10 Mobile (iOS 10.3.3 iPad): "Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten" · Issue #15152 · angular/angular-cli · GitHub

Open Graph Title: Angular 8 error on Safari 10 Mobile (iOS 10.3.3 iPad): "Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten" · Issue #15152 · angular/angular-cli

X Title: Angular 8 error on Safari 10 Mobile (iOS 10.3.3 iPad): "Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten" · Issue #15152 · angular/angular-cli

Description: 🐞 Bug report Command (mark with an x) - [ ] new - [x] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc Is this a regression? Yes...

Open Graph Description: 🐞 Bug report Command (mark with an x) - [ ] new - [x] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver...

X Description: 🐞 Bug report Command (mark with an x) - [ ] new - [x] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular 8 error on Safari 10 Mobile (iOS 10.3.3 iPad): \"Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten\"","articleBody":"# 🐞 Bug report\r\n\r\n### Command (mark with an `x`)\r\n\u003c!-- Can you pin-point the command or commands that are effected by this bug? -->\r\n\u003c!-- ✍️edit: -->\r\n```\r\n- [ ] new\r\n- [x] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] 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### Is this a regression?\r\n\r\nYes, the previous version in which this bug was not present was: 7.x.x\r\n\r\n\r\n### Description\r\n\r\nIf you create an empty app with `ng new`, you cannot run it on Safari 10 Mobile (iOS 10.3.3), because it throws this error on console:\r\n\r\n```\r\n[Error] Error: Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\r\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)\r\n\tassertZonePatched (polyfills-es5.2219c87348e60efc0076.js:1:3142)\r\n\tt (main-es5.d1c9edb576425b4c6fb4.js:1:78504)\r\n\tbootstrapModuleFactory (main-es5.d1c9edb576425b4c6fb4.js:1:85139)\r\n\tzUnb (main-es5.d1c9edb576425b4c6fb4.js:1:248620)\r\n\tf (runtime-es2015.703a23e48ad83c851e49.js:1:512)\r\n\t(anonymous function) (main-es5.d1c9edb576425b4c6fb4.js:1:88)\r\n\tf (runtime-es2015.703a23e48ad83c851e49.js:1:512)\r\n\tt (runtime-es2015.703a23e48ad83c851e49.js:1:378)\r\n\t(anonymous function) (runtime-es2015.703a23e48ad83c851e49.js:1:1418)\r\n\tModule Code (runtime-es2015.703a23e48ad83c851e49.js:1:1437)\r\n\tevaluate\r\n\tmoduleEvaluation\r\n```\r\n\r\nI already talked about this issue [HERE](https://github.com/angular/angular/issues/30928), but the discussion is dead, so I decided to create a new dedicated issue\r\nIn issue #30928 the problems seems fixed, but it's not true, because it happens also with a basic app created by `ng new`.\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\n1. create a new project with `ng new ng-safari10` with routing and SCSS (probably they aren't mandatory to reproduce this issue)\r\n2. use this browserslist file content\r\n\r\n  ```\r\n> 0.5%\r\nlast 2 versions\r\nFirefox ESR\r\nnot dead\r\nIE 11\r\nFirefox 67\r\nSafari 10\r\nios_saf 10\r\n  ```\r\n\r\n3. Check the output of `npm browserslist` to see if there is 'ios_saf 10.0-10.2':\r\n\r\n```\r\nand_chr 75\r\nand_ff 67\r\nand_qq 1.2\r\nand_uc 11.8\r\nandroid 67\r\nbaidu 7.12\r\nchrome 75\r\nchrome 74\r\nchrome 73\r\nchrome 72\r\nedge 18\r\nedge 17\r\nfirefox 67\r\nfirefox 66\r\nfirefox 60\r\nie 11\r\nie_mob 11\r\nios_saf 12.2\r\nios_saf 12.0-12.1\r\nios_saf 11.3-11.4\r\nios_saf 10.0-10.2\r\nkaios 2.5\r\nop_mini all\r\nop_mob 46\r\nopera 58\r\nopera 57\r\nsafari 12.1\r\nsafari 12\r\nsafari 10\r\nsafari 5.1\r\nsamsung 9.2\r\nsamsung 8.2\r\nsamsung 4\r\n```\r\n\r\n2. build with `ng build --prod --aot` or `ng build`\r\n3. cd dist/ng-safari10 && lite-server\r\n\r\n\r\nThis is the package.json created automatically by `ng new`:\r\n\r\n```\r\n\"dependencies\": {\r\n    \"@angular/animations\": \"~8.1.2\",\r\n    \"@angular/common\": \"~8.1.2\",\r\n    \"@angular/compiler\": \"~8.1.2\",\r\n    \"@angular/core\": \"~8.1.2\",\r\n    \"@angular/forms\": \"~8.1.2\",\r\n    \"@angular/platform-browser\": \"~8.1.2\",\r\n    \"@angular/platform-browser-dynamic\": \"~8.1.2\",\r\n    \"@angular/router\": \"~8.1.2\",\r\n    \"rxjs\": \"~6.4.0\",\r\n    \"tslib\": \"^1.9.0\",\r\n    \"zone.js\": \"~0.9.1\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@angular-devkit/build-angular\": \"~0.801.2\",\r\n    \"@angular/cli\": \"~8.1.2\",\r\n    \"@angular/compiler-cli\": \"~8.1.2\",\r\n    \"@angular/language-service\": \"~8.1.2\",\r\n    \"@types/node\": \"~8.9.4\",\r\n    \"@types/jasmine\": \"~3.3.8\",\r\n    \"@types/jasminewd2\": \"~2.0.3\",\r\n    \"codelyzer\": \"^5.0.0\",\r\n    \"jasmine-core\": \"~3.4.0\",\r\n    \"jasmine-spec-reporter\": \"~4.2.1\",\r\n    \"karma\": \"~4.1.0\",\r\n    \"karma-chrome-launcher\": \"~2.2.0\",\r\n    \"karma-coverage-istanbul-reporter\": \"~2.0.1\",\r\n    \"karma-jasmine\": \"~2.0.1\",\r\n    \"karma-jasmine-html-reporter\": \"^1.4.0\",\r\n    \"protractor\": \"~5.4.0\",\r\n    \"ts-node\": \"~7.0.0\",\r\n    \"tslint\": \"~5.15.0\",\r\n    \"typescript\": \"~3.4.3\"\r\n  }\r\n```\r\n\r\nIf you need more info, feel free to ask.\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\n[Error] Error: Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\r\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)\r\n\tassertZonePatched (polyfills-es5.2219c87348e60efc0076.js:1:3142)\r\n\tt (main-es5.d1c9edb576425b4c6fb4.js:1:78504)\r\n\tbootstrapModuleFactory (main-es5.d1c9edb576425b4c6fb4.js:1:85139)\r\n\tzUnb (main-es5.d1c9edb576425b4c6fb4.js:1:248620)\r\n\tf (runtime-es2015.703a23e48ad83c851e49.js:1:512)\r\n\t(anonymous function) (main-es5.d1c9edb576425b4c6fb4.js:1:88)\r\n\tf (runtime-es2015.703a23e48ad83c851e49.js:1:512)\r\n\tt (runtime-es2015.703a23e48ad83c851e49.js:1:378)\r\n\t(anonymous function) (runtime-es2015.703a23e48ad83c851e49.js:1:1418)\r\n\tModule Code (runtime-es2015.703a23e48ad83c851e49.js:1:1437)\r\n\tevaluate\r\n\tmoduleEvaluation\r\n\u003c/code>\u003c/pre>\r\n\r\n\r\n## 🌍 Your Environment\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 8.1.2\r\nNode: 10.16.0\r\nOS: darwin x64\r\nAngular: 8.1.2\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.801.2\r\n@angular-devkit/build-angular     0.801.2\r\n@angular-devkit/build-optimizer   0.801.2\r\n@angular-devkit/build-webpack     0.801.2\r\n@angular-devkit/core              8.1.2\r\n@angular-devkit/schematics        8.1.2\r\n@ngtools/webpack                  8.1.2\r\n@schematics/angular               8.1.2\r\n@schematics/update                0.801.2\r\nrxjs                              6.4.0\r\ntypescript                        3.4.5\r\nwebpack                           4.35.2\r\n\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nSafari 10 for iPad with iOS 10.3.3, if you need mode info about iPad model feel free to ask.","author":{"url":"https://github.com/Ks89","@type":"Person","name":"Ks89"},"datePublished":"2019-07-24T07:50:52Z","url":"https://github.com/angular/angular-cli/issues/15152"}

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:2d62ad88-c4f8-095c-4d12-5d7df8ca32f0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A12:172B92:15C3A37:1D0E362:6B013859
html-safe-nonce65cb7926425c06a80ecd2a94cc99ed0d7bbeda079bec2c0c622e4cf7266e75bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTEyOjE3MkI5MjoxNUMzQTM3OjFEMEUzNjI6NkIwMTM4NTkiLCJ2aXNpdG9yX2lkIjoiMTQ0NzUxNjY3NjE5NDEyMTgxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf08f8cd49ce29f0a2fc91596f8e14e977c9f72d8c7b247fddaeea54a46c25057
hovercard-subject-tagissue:472189323
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/15152/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6ade8521b5b4674cf8ce1c0262ae9b57ab241eeaedf02892e6c1aef5e373cc20/angular/angular-cli/issues/15152
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ade8521b5b4674cf8ce1c0262ae9b57ab241eeaedf02892e6c1aef5e373cc20/angular/angular-cli/issues/15152
og:image:alt🐞 Bug report Command (mark with an x) - [ ] new - [x] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKs89
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/issues/31816#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F15152
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%2F15152
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/issues/31816
Reloadhttps://github.com/angular/angular/issues/31816
Reloadhttps://github.com/angular/angular/issues/31816
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/15152
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/15152
Angular 8 error on Safari 10 Mobile (iOS 10.3.3 iPad): "Zone.js has detected that ZoneAwarePromise (window|global).Promise has been overwritten"https://github.com/angular/angular-cli/issues/15152#top
https://github.com/Ks89
Ks89https://github.com/Ks89
on Jul 24, 2019https://github.com/angular/angular-cli/issues/15152#issue-472189323
HEREhttps://github.com/angular/angular/issues/30928
#30928https://github.com/angular/angular-cli/pull/30928
https://github.com/Ks89
Ks89https://github.com/Ks89
on Jul 24, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-514522467
angular/angular#31103https://github.com/angular/angular/issues/31103
gkalpakhttps://github.com/gkalpak
angular/angularhttps://github.com/angular/angular
on Jul 24, 2019https://github.com/angular/angular-cli/issues/15152#event-2505764929
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Jul 24, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-514572736
@Ks89https://github.com/Ks89
https://browserl.isthttps://browserl.ist
alan-agius4https://github.com/alan-agius4
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 24, 2019https://github.com/angular/angular-cli/issues/15152#event-2505826204
https://github.com/Ks89
Ks89https://github.com/Ks89
on Jul 24, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-514600847
https://github.com/agiratech-vigneshm
agiratech-vigneshmhttps://github.com/agiratech-vigneshm
on Aug 2, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-517620155
https://github.com/Ks89
Ks89https://github.com/Ks89
on Aug 2, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-517639143
https://github.com/agiratech-vigneshm
agiratech-vigneshmhttps://github.com/agiratech-vigneshm
on Aug 2, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-517650706
https://github.com/Ks89
Ks89https://github.com/Ks89
on Aug 2, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-517655205
https://github.com/agiratech-vigneshm
agiratech-vigneshmhttps://github.com/agiratech-vigneshm
on Aug 2, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-517659036
https://github.com/SpellChucker
SpellChuckerhttps://github.com/SpellChucker
on Aug 8, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-519675020
@agiratech-vigneshmhttps://github.com/agiratech-vigneshm
changhuixuhttps://github.com/changhuixu
on Sep 9, 2019https://github.com/angular/angular-cli/issues/15152#event-2619411206
add browsers support for iOS10https://github.com/changhuixu/angular-clipboard/commit/9676c1c1fe2df3700475b520315049310e366580
9676c1chttps://github.com/changhuixu/angular-clipboard/commit/9676c1c1fe2df3700475b520315049310e366580
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/15152#issuecomment-529635110
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 9, 2019https://github.com/angular/angular-cli/issues/15152#event-2619920426
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/15152
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/15152
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.