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.

Infinite loop when using steps

See original GitHub issue

Steps don’t seem to work for me, and I noticed the terminal just runs this across every 1-2 seconds:

success createPages - 0.006s
success Checking for changed pages - 0.002s
success update schema - 0.017s
success onPreExtractQueries - 0.002s
success extract queries from components - 0.015s
success write out requires - 0.002s
info added directory at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/mdx-deck/.cache/redux
info added directory at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/mdx-deck/.cache/redux
info changed file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-
info added directory at
info added directory at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transfo
info added directory at
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-ex
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-ex
info added directory at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transfo
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-ex
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-mo
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-mo
info added directory at
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-mo
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-ex
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-mo
info added directory at
info added directory at
info added directory at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transfo
info added directory at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transfo
info changed file at
info added file at
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-fu
info added directory at
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-fu
info added file at
info added file at
info added directory at
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-mo
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-me
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-me
info added directory at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transfo
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-me
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-na
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-na
info added directory at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transfo
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-na
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-fu
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-mo
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-me
info added file at /Users/wesbos/Dropbox/talks/gatsby-talk/node_modules/@babel/plugin-transform-na
success building schema - 0.250s
info Total nodes: 2218, SitePage nodes: 2 (use --verbose for breakdown)

This is with the following code:

# Hello

---

## This is my deck

---

# Let's try steps

<Steps>
- One
- Two
- Three
- Four
</Steps>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
wesboscommented, Oct 2, 2020

That fixed it, Will close this as there is an issue already for the looping

2reactions
wesboscommented, Oct 1, 2020

Ohh nice hack of reading the docs 😄 I will try that! Thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identify infinite loops in process applications - IBM
An infinite loop in a process app or service may cause the application to consume a large amount of processor resources. You can...
Read more >
What is infinite loop (endless loop)? | Definition from TechTarget
An infinite loop (sometimes called an endless loop) is a piece of coding that lacks a functional exit so that it repeats indefinitely....
Read more >
Infinite loop - Wikipedia
In computer programming, an infinite loop (or endless loop) is a sequence of instructions that, as written, will continue endlessly, unless an external ......
Read more >
Infinite Loop in C - Javatpoint
An infinite loop is a looping construct that does not terminate the loop and executes the loop forever. It is also called an...
Read more >
child process infinite loop with execve - Stack Overflow
When I make execve(path, cmd, envp); the program cat "hello world" and infinite loop here. How can I fix this? c · pipe...
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