René's URL Explorer Experiment


Title: [6.0-rc.0] Analytics: global is not defined · Issue #2303 · angular/angularfire · GitHub

Open Graph Title: [6.0-rc.0] Analytics: global is not defined · Issue #2303 · angular/angularfire

X Title: [6.0-rc.0] Analytics: global is not defined · Issue #2303 · angular/angularfire

Description: Version info Angular: 9.0.0-rc.12 Firebase: 7.8.0 AngularFire: 6.0.0-rc.0 Other (e.g. Ionic/Cordova, Node, browser, operating system): How to reproduce these conditions Steps to set up and reproduce Just importing the Analytics Module im...

Open Graph Description: Version info Angular: 9.0.0-rc.12 Firebase: 7.8.0 AngularFire: 6.0.0-rc.0 Other (e.g. Ionic/Cordova, Node, browser, operating system): How to reproduce these conditions Steps to set up and reproduc...

X Description: Version info Angular: 9.0.0-rc.12 Firebase: 7.8.0 AngularFire: 6.0.0-rc.0 Other (e.g. Ionic/Cordova, Node, browser, operating system): How to reproduce these conditions Steps to set up and reproduc...

Opengraph URL: https://github.com/angular/angularfire/issues/2303

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[6.0-rc.0] Analytics: global is not defined","articleBody":"\u003c!--\r\n\r\nIMPORTANT! YOU MUST FOLLOW THESE INSTRUCTIONS OR YOUR ISSUE WILL BE CLOSED.\r\n\r\nThank you for contributing to the Angular and Firebase communities!\r\n\r\nHave a usage question?\r\n=======================\r\nWe get lots of those and we love helping you, but GitHub is not the best place for them and they will be closed. Here are some resources to get help:\r\n\r\n- Go through the Developer's Guide: https://github.com/angular/angularfire2#developer-guide\r\n\r\nIf the official documentation doesn't help, try asking through our officially supported channels:\r\n\r\n- Firebase Google Group: https://groups.google.com/forum/#!forum/firebase-talk\r\n- Stack Overflow: https://stackoverflow.com/questions/tagged/angular (include the firebase and angularfire tags, too!)\r\n\r\n*Please avoid double posting across multiple channels!*\r\n\r\nThink you found a bug?\r\n=======================\r\nYeah, we're definitely not perfect! Please use the bug report template below and include a minimal repro when opening the issue.\r\n\r\nHave a feature request?\r\n========================\r\nGreat, we love hearing how we can improve our products! Remove the template below and\r\nprovide an explanation of your feature request. Provide code samples if applicable. Try to\r\nthink about what it will allow you to do that you can't do today? How will it make current\r\nworkarounds straightforward? What potential bugs and edge cases does it help to avoid?\r\n\r\n--\u003e\r\n\r\n\r\n### Version info\r\n\r\n\u003c!-- What versions of the following libraries are you using? Note that your issue may already\r\nbe fixed in the latest versions. --\u003e\r\n\r\n**Angular:** 9.0.0-rc.12\r\n\r\n**Firebase:** 7.8.0\r\n\r\n**AngularFire:** 6.0.0-rc.0\r\n\r\n**Other (e.g. Ionic/Cordova, Node, browser, operating system):**\r\n\r\n### How to reproduce these conditions\r\n\r\n**Steps to set up and reproduce**\r\n\r\nJust importing the Analytics Module\r\n\r\n```\r\nimports: [\r\n        BrowserModule,\r\n        AngularFireModule.initializeApp(environment.firebase),\r\n        AngularFireAnalyticsModule,\r\n        NoopAnimationsModule,\r\n        ComponentsModule\r\n    ],\r\n```\r\n\r\n### Debug output\r\n\r\n\u003cdetails\u003e\r\nUnhandled Promise rejection: global is not defined ; Zone: \u003croot\u003e ; Task: Promise.then ; Value: ReferenceError: \"global is not defined\"\r\n    Angular 28\r\n AngularFireAnalytics@http://localhost:4200/vendor.js:74047:13\r\nAngularFireAnalytics_Factory@http://localhost:4200/vendor.js:74153:182\r\nhydrate@http://localhost:4200/vendor.js:46638:54\r\nget@http://localhost:4200/vendor.js:46400:33\r\ninjectInjectorOnly@http://localhost:4200/vendor.js:32635:33\r\nɵɵinject@http://localhost:4200/vendor.js:32645:57\r\nAngularFireAnalyticsModule_Factory@http://localhost:4200/vendor.js:74562:246\r\nhydrate@http://localhost:4200/vendor.js:46638:54\r\nget@http://localhost:4200/vendor.js:46400:33\r\nR3Injector/\u003c@http://localhost:4200/vendor.js:46330:25\r\nR3Injector@http://localhost:4200/vendor.js:46326:31\r\ncreateInjector@http://localhost:4200/vendor.js:46277:12\r\nNgModuleRef$1@http://localhost:4200/vendor.js:63231:47\r\ncreate@http://localhost:4200/vendor.js:63321:16\r\nbootstrapModuleFactory/\u003c@http://localhost:4200/vendor.js:68500:64\r\ninvoke@http://localhost:4200/polyfills.js:378:30\r\nonInvoke@http://localhost:4200/vendor.js:67718:33\r\ninvoke@http://localhost:4200/polyfills.js:377:36\r\nrun@http://localhost:4200/polyfills.js:137:47\r\nrun@http://localhost:4200/vendor.js:67548:91\r\nbootstrapModuleFactory@http://localhost:4200/vendor.js:68493:23\r\nbootstrapModule/\u003c@http://localhost:4200/vendor.js:68569:31\r\ninvoke@http://localhost:4200/polyfills.js:378:30\r\nrun@http://localhost:4200/polyfills.js:137:47\r\nscheduleResolveOrReject/\u003c@http://localhost:4200/polyfills.js:864:40\r\ninvokeTask@http://localhost:4200/polyfills.js:413:35\r\nrunTask@http://localhost:4200/polyfills.js:181:51\r\ndrainMicroTaskQueue@http://localhost:4200/polyfills.js:583:39\r\n\u003c/details\u003e\r\n\r\n### Expected behavior\r\n\r\nAnalytics running\r\n\r\n### Actual behavior\r\n\r\nWhole app is not running\r\n\r\n### Workaround\r\n\r\nBy adding `(window as any).global = window;` to `polyfill.ts` I can work around the issue for now\r\n","author":{"url":"https://github.com/vandres","@type":"Person","name":"vandres"},"datePublished":"2020-01-31T08:55:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2303/angularfire/issues/2303"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6e03077f-eb3b-b250-859b-c12d69863fde
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id92A6:BE985:1BCE82B:24F9895:6A5AE200
html-safe-nonce65b74b3fe34dda1e9027a127fc98d464000ec78f3ec2652195dcf82c834b8ae7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkE2OkJFOTg1OjFCQ0U4MkI6MjRGOTg5NTo2QTVBRTIwMCIsInZpc2l0b3JfaWQiOiI3ODM0Njc3Mjc3ODIxMTY2MDgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1d556a3934360deaacf8291a30ae54c4972da21796fb216b8716500ae36da933
hovercard-subject-tagissue:557997094
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/angularfire/2303/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8fa70996b5bebb46826f8ea90076872b19e31f75b7c17a8221ba5410094ed53f/angular/angularfire/issues/2303
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8fa70996b5bebb46826f8ea90076872b19e31f75b7c17a8221ba5410094ed53f/angular/angularfire/issues/2303
og:image:altVersion info Angular: 9.0.0-rc.12 Firebase: 7.8.0 AngularFire: 6.0.0-rc.0 Other (e.g. Ionic/Cordova, Node, browser, operating system): How to reproduce these conditions Steps to set up and reproduc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevandres
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/angular/angularfire git https://github.com/angular/angularfire.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id49453413
octolytics-dimension-repository_nwoangular/angularfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49453413
octolytics-dimension-repository_network_root_nwoangular/angularfire
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angularfire/issues/2303#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fissues%2F2303
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fissues%2F2303
Sign up https://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%2Fangularfire
Reloadhttps://github.com/angular/angularfire/issues/2303
Reloadhttps://github.com/angular/angularfire/issues/2303
Reloadhttps://github.com/angular/angularfire/issues/2303
Please reload this pagehttps://github.com/angular/angularfire/issues/2303
angular https://github.com/angular
angularfirehttps://github.com/angular/angularfire
Notifications https://github.com/login?return_to=%2Fangular%2Fangularfire
Fork 2.2k https://github.com/login?return_to=%2Fangular%2Fangularfire
Star 7.8k https://github.com/login?return_to=%2Fangular%2Fangularfire
Code https://github.com/angular/angularfire
Issues 295 https://github.com/angular/angularfire/issues
Pull requests 20 https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality 0 https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
Code https://github.com/angular/angularfire
Issues https://github.com/angular/angularfire/issues
Pull requests https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
[6.0-rc.0] Analytics: global is not definedhttps://github.com/angular/angularfire/issues/2303#top
https://github.com/vandres
vandreshttps://github.com/vandres
on Jan 31, 2020https://github.com/angular/angularfire/issues/2303#issue-557997094
@httphttps://github.com/http
@httphttps://github.com/http
@httphttps://github.com/http
@httphttps://github.com/http
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.