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.

Maximum call stack, presumably due to my 3100 line long markdown file

See original GitHub issue

Don’t ask why.

image

It’s a glorious 138kb file

Tests I did:

  1. Moving the mostrosity of a markdown file to the routes folder
  • this did not work
  1. Converting it to HTML before hand and putting it in my routes
  • this did work.

This makes it likely a MDsveX issue

9:07:39 PM [vite] Internal server error: Maximum call stack size exceeded
  File: C:/Users/<redacted>/Personal/Notes/blog/<You really don't want to know>.md
      at handle_var_declaration (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6470:10)       
      at VariableDeclaration (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6755:10)
      at handle (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6175:17)
      at file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6408:18
      at Array.map (<anonymous>)
      at handle_body (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6407:21)
      at file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6489:7
      at scoped_fn (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6376:10)
      at handle (file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6175:17)
      at file:///C:/Users/<redacted>/Personal/Code/Contrib/site/node_modules/.pnpm/svelte@3.44.0/node_modules/svelte/compiler.mjs:6748:7
Terminate batch job (Y/N)?
^C

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kdheepakcommented, Feb 4, 2022

Yes, for me it has!

1reaction
boehscommented, Oct 26, 2021

out of curiosity have you tried to reproduce with a generic lorum file with a massive amount of content?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Single line ends preserved in markdown output?
This is a problem because my organization requires text files, including markdown files, to observe a maximum line length of 80 characters. We' ......
Read more >
Changelog for pandoc-2.0.6 - Hackage - Haskell.org
This mainly affects the Markdown reader when parsing raw LaTeX with ... Pipe tables with lines longer than the text width (as set...
Read more >
Untitled
Exoil shipping and survey s.r.l. Php echo new line in text file, ... Md nazrul islam khan secretary, My everything 98 degrees guitar...
Read more >
Hacks - Markdown Guide
But chances are that if you use Markdown long enough, you'll inevitably discover that it doesn't support something you need. This page provides...
Read more >
The news-leader - UFDC Home - University of Florida
The Smathers Libraries would like to learn more about this item and invite individuals or organizations to contact Digital Services (UFDC@uflib.ufl.edu) ...
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