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.

new pages dont update: Tutorial can't be followed

See original GitHub issue

Description

I am new to Gatsby (ie. today is my first dive). Following the Gatsby tutorials here https://www.gatsbyjs.org/tutorial/ I find I have to restart Gatsby develop to view new pages.

Steps to reproduce

  1. Follow the Gatsby tutorials on a new machine with a new Gatsby setup

  2. Add a new page (ie src/pages/about.js)

  3. Check the develop browser window, and go to the new page

all new pages use this initial structure:

import React from "react" export default () => (

  1. We see a 404 page with “There’s not a page yet at /test/”

  2. Stop, then restart the Gatsby develop processs

  3. Now it works!

(I have installed nvm, and tried toggling from latest node (13.12.0) back to LTS node (12.16.1), no difference)

Expected result

We shouldn’t have to restart Gatsby develop according to your tutorial.

Actual result

See above - -pages don’t load.

Environment

System: OS: macOS 10.15.4 CPU: (6) x64 Intel® Core™ i5-9600K CPU @ 3.70GHz Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm Languages: Python: 2.7.16 - /usr/bin/python Browsers: Chrome: 80.0.3987.149 Firefox: 73.0.1 Safari: 13.1

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
vladarcommented, Apr 1, 2020

Hi @MattAppleton !

Sorry to hear you’re running into an issue. I tried to reproduce this but couldn’t - pages are created normally, I don’t need to restart develop to see the page.

To help us best begin debugging the underlying cause, it is incredibly helpful if you’re able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it.

If you’re up for it, we’d very much appreciate if you could provide a minimal reproduction and we’ll be able to take another look.

Thanks for using Gatsby! 💜

0reactions
wardpeetcommented, May 13, 2020

Thanks so much for opening this issue! As stated, this is slightly tangential to Gatsby, and it seems like we’ve provided enough information to make an informed decision.

If this is not the case, or if we can help further–please don’t hesitate to reach out or comment on this issue, and we’d love to take another look.

Thanks for using Gatsby 💪

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix WordPress Website Not Updating Right Away
In Google Chrome, click on the three-dot menu in the top right corner. From the menu, you need to go to More Tools...
Read more >
WordPress Changes Not Showing? 3 Methods to Fix It Right ...
WordPress Changes Not Showing? Three Methods to Fix WordPress Not Updating · 1. Force Refresh Your Browser · 2. Clear Your WordPress Cache...
Read more >
How to manually update apps on your Apple device
In the sidebar, click Updates. Click Update next to an app to update only that app, or click Update All. Mac showing the...
Read more >
Why does my GitHub page not update its content?
Solution: The issue turned out to be my browser caching the page (despite my having page caching disabled). To fix it I just...
Read more >
Fix Chrome update problems & failed updates - Google Support
If you're having problems updating Chrome on your computer, you might see: Update failed: ... Unwanted software might stop Chrome from updating correctly....
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