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.

Looks like develop for this site is already running, can you visit http://localhost:8000 ? If it is not, try again in five seconds!

See original GitHub issue

Description

Hey, I get this error when gatsby develop every time on my gatsby project which I’m warking since last week: error Looks like develop for this site is already running, can you visit http://localhost:8000 ? If it is not, try again in five seconds!

There is no any other project or app ran on 8000 port and no other as well. I tried everything I could think of: clearing cache, reseting npm, updating node, gatsby, npm, getting rid of vulnerabilities, deleting whole directory and pulling from remote, also on previous commits. And nothing helps. I created a new gatsby project and there is no problem.

Additional, it make no difference if I try to run dev on another port. The problem is the same but for this port.

Gatsby CLI version: 2.12.117 Gatsby version: 2.25.3

node: v14.15.0 npm: 6.14.8

Using Windows 10 64bit

Steps to reproduce

https://github.com/kalkson/reactywny.pl

How to Make a Minimal Reproduction: https://www.gatsbyjs.org/contributing/how-to-make-a-reproducible-test-case/

Expected result

Should run development server

Actual result

error Looks like develop for this site is already running, can you visit http://localhost:8000 ? If it is not, try again in five seconds!

Environment

System: OS: Windows 10 10.0.18363 CPU: (4) x64 Intel® Core™ i5-7300HQ CPU @ 2.50GHz Binaries: Node: 14.15.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.21.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD Languages: Python: 3.9.0 Browsers: Chrome: 86.0.4240.193 Edge: Spartan (44.18362.449.0) npmPackages: gatsby: ^2.24.91 => 2.25.3 gatsby-background-image: ^1.1.2 => 1.1.2 gatsby-image: ^2.4.21 => 2.4.21 gatsby-plugin-disqus: ^1.2.2 => 1.2.2 gatsby-plugin-eslint: ^2.0.8 => 2.0.8 gatsby-plugin-layout: ^1.3.13 => 1.3.13 gatsby-plugin-manifest: ^2.4.37 => 2.5.2 gatsby-plugin-mdx: ^1.3.1 => 1.3.1 gatsby-plugin-offline: ^3.2.38 => 3.3.3 gatsby-plugin-prefetch-google-fonts: ^1.4.3 => 1.4.3 gatsby-plugin-prettier-eslint: ^1.0.4 => 1.0.4 gatsby-plugin-react-helmet: ^3.3.14 => 3.3.14 gatsby-plugin-react-svg: ^3.0.0 => 3.0.0 gatsby-plugin-resolve-src: ^2.1.0 => 2.1.0 gatsby-plugin-root-import: ^2.0.5 => 2.0.5 gatsby-plugin-sharp: ^2.7.1 => 2.7.1 gatsby-plugin-styled-components: ^3.3.14 => 3.3.14 gatsby-source-datocms: ^2.5.7 => 2.5.7 gatsby-source-filesystem: ^2.3.37 => 2.4.2 gatsby-transformer-sharp: ^2.5.20 => 2.5.21 npmGlobalPackages: gatsby-cli: 2.12.117

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
kalksoncommented, Jul 8, 2022

This sounds like an issue with our service locking mechanism. Can you try running this command in Powershell and then trying again? 🙏

npx rimraf ~\.config\gatsby\sites

(I don’t use windows myself so I’m not sure if that path is 100% correct)

Sorry for the troubles!

Me and my friend realized that fix but thanks for your answer. This should be useful for potential guys in future. In case of Windows the proper path is: C:\Users\[your name]\.config\gatsby\sites

Fixed, thanks!

2reactions
mxstbrcommented, Nov 12, 2020

This sounds like an issue with our service locking mechanism. Can you try running this command in Powershell and then trying again? 🙏

npx rimraf ~\.config\gatsby\sites

(I don’t use windows myself so I’m not sure if that path is 100% correct)

Sorry for the troubles!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Looks like develop for this site is already running, can you ...
Looks like develop for this site is already running, can you visit http://localhost:8000 ? If it is not, try again in five seconds....
Read more >
Gatsby develop command fails on macOS High Sierra, no ...
Looks like develop for this site is already running, can you visit http://://localhost:8000 ? If it is not, try again in five seconds!...
Read more >
Trouble getting project to render locally using gatsby.js
Looks like develop for this site is already running, can you visit http://localhost:8001 ? If it is not, try again in five seconds!...
Read more >
Create Standard workflows in single-tenant Azure Logic ...
Create Standard logic app workflows that run in single-tenant Azure Logic Apps to automate integration tasks across apps, data, services, ...
Read more >
Gatsbyで「error Looks like develop for this site is already ...
If it is not, try again in five seconds! ... Looks like develop for this site is already running, can you visit http://localhost:8000...
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 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