question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

localhost:8000 blank page on Chrome! working on incognito and Mozilla

See original GitHub issue

Description

localhost:8000 is not working on normal Chrome mode, but is working fine on incognito mode and Mozilla Dev version Browser.

Steps to reproduce

  1. gatsby develop

  2. Running localhost:8000 on normal Chrome mode

  3. Getting a blank_page

  4. Works fine on incognito mode and Mozilla browser

Expected result

The developement mode should appear.

Actual result

image

I also can’t open the inspect or the console.

Environment

System: OS: Linux 4.4 Ubuntu 18.04.2 LTS (Bionic Beaver) CPU: (8) x64 Intel® Core™ i5-8250U CPU @ 1.60GHz Shell: 5.4.2 - /usr/bin/zsh Binaries: Node: 10.16.3 - /usr/local/bin/node Yarn: 1.19.1 - /usr/bin/yarn npm: 6.7.0 - /usr/local/bin/npm Languages: Python: 2.7.15+ - /usr/bin/python npmPackages: gatsby: ^2.7.5 => 2.7.5 gatsby-cli: ^2.7.47 => 2.7.47 gatsby-image: ^2.1.2 => 2.1.2 gatsby-plugin-advanced-sitemap: ^1.4.5 => 1.4.5 gatsby-plugin-drift: ^1.0.0 => 1.0.0 gatsby-plugin-google-analytics: ^2.1.23 => 2.1.23 gatsby-plugin-manifest: ^2.1.1 => 2.1.1 gatsby-plugin-offline: ^2.1.1 => 2.1.1 gatsby-plugin-react-helmet: ^3.0.12 => 3.0.12 gatsby-plugin-sass: ^2.0.11 => 2.0.11 gatsby-plugin-sharp: ^2.1.2 => 2.1.2 gatsby-plugin-web-font-loader: ^1.0.4 => 1.0.4 gatsby-source-filesystem: ^2.0.37 => 2.0.37 gatsby-theme-stripe-checkout-button: ^1.0.4 => 1.0.4 gatsby-transformer-sharp: ^2.1.20 => 2.1.20 npmGlobalPackages: gatsby-cli: 2.7.53

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Ruchika30commented, May 11, 2020

Hi , I am facing this same issue. And things are not working for me . Can’t even open console, hard refresh is also not working. Kindly help

0reactions
DSchaucommented, Dec 30, 2019

@alesdonoso that error in your console appears to be from an extension.

You can see it with Uncaught TypeError: Cannot read property 'hasAttribute' of null from global-shortcut.js.

It’s working in Incognito because that particular extension is most likely disabled. I recommend you disable extensions (e.g. one by one) and see which one is causing the issue.

If you’re able to reproduce with a specific extension, we’d love for you to report back as to which one seems to causing the issue.

I’m going to close as this is not a Gatsby-specific issue, but please do reply back and/or re-open if we can help further.

Thanks! 💜

Read more comments on GitHub >

github_iconTop Results From Across the Web

Localhost not working in Chrome, 127.0.0.1 does work
What you can do is go to Chrome setting > Privacy and Settings > See all the cookies and site data , search...
Read more >
What is missing when I get a blank white screen when I try to ...
Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing...
Read more >
How to Fix the ERR_CONNECTION_REFUSED Error in Chrome
When you visit a website using Google Chrome and encounter this message, it means that your attempt to connect was refused. This error...
Read more >
Development web server sometimes hangs with Chrome
If I run the dev server and hit a page with Chrome, it will often hang for ... blank Django project, and attempting...
Read more >
Toolbar Preview cookie issue - #20 by benjamin.groener
2 Likes. Prismic Preview is not working in my .net website ... Prismic toolbar is also empty in Chrome and Firefox:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found