Closed abhishekjakhar closed 4 years ago
Looks like this is due to a site previously being dependend on no longer exists.
gatsbyjs.org has a internal plugin called gatsby-plugin-perf-metrics
and inside it, the gatsby-ssr.js
file is loading in a script from earlymonitoring.firebaseapp.com
which is no longer online (source for gatsby-ssr file here: https://github.com/gatsbyjs/gatsby/blob/master/www/plugins/gatsby-plugin-perf-metrics/gatsby-ssr.js).
So, we don't require this script anymore?
No the script is still trying to be loaded in, but given the site is offline, it is breaking this script tag. I'm not sure if this site was maintained by Gatsby or not so I am going to have to wait for someone from the core team to respond on this topic.
We should remove the plugin and instead monitor web-vitals through google analytics. I don't think we need anything more than that.
@wardpeet Can I take up this PR?
Hey @abhishekjakhar, based off of @wardpeet's recommendations feel free to submit a PR removing gatsby-plugin-perf-metrics
. To continue capturing that information we'd ideally like to add something into the official Google Analytics plugin, but for now it'd probably be good enough to add a plugin like gatsby-plugin-web-vitals
in your PR as well π
Hiya!
This issue has gone quiet. Spooky quiet. π»
We get a lot of issues, so we currently close issues after 30 days of inactivity. Itβs been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the Gatsby community! πͺπ
Thanks for reporting this :) I've removed the plugin from the site so the error should disappear as soon as a new build is pushed, which should happen automatically
Description
There is error in console of Gatsby website telling Uncaught ReferenceError: firebase is not defined
Steps to reproduce
Screenshot
Expected result
There should not be any error in the console
Actual result
There is error in console telling Uncaught ReferenceError: firebase is not defined
Environment