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.

Cant get this working in Svelte Kit

See original GitHub issue

Hi I can’t seem to get this working in Svelte Kit.

Like all my other modules:

[vite] Error when evaluating SSR module /node_modules/remark-parse/index.js?v=94403ef9:
ReferenceError: module is not defined
    at /node_modules/remark-parse/index.js?v=94403ef9:3:1
    at instantiateModule (/Users/marcgodard/Documents/Github/swp-crm/node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:69982:166)

And If I turn SSR off I get:

[vite] Internal server error: Cannot find module './transformers/module'

Has anyone gotten this working yet?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:10
  • Comments:33 (7 by maintainers)

github_iconTop GitHub Comments

Noxsioscommented, Mar 27, 2022

After upgrading to bytemd@^1.12.4 Sveltekit is working w/o needing to use VanillaJS config or optimizeDeps. Thanks.

muellercorneliuscommented, Jul 14, 2021

Yep I have the same problem 😭

Read more comments on GitHub >

github_iconTop Results From Across the Web

SvelteKit: redirect() not working on server without disabling ssr
I found the problem. The culprit was the status code I was using for redirecting. I was providing the wrong status code 300...
Read more >
Help! I have trouble updating SvelteKit! : r/sveltejs - Reddit
I'm trying to stay up to date with the SvelteKit releases, but I can't update SvelteKit from 1.0.0-next.370 to 1.0.0-next.399 because of Vite3....
Read more >
Introduction • Docs • SvelteKit
If you're new to Svelte or SvelteKit we recommend checking out the (experimental!) interactive tutorial. If you get stuck, reach out for help...
Read more >
Svelte Kit Form Actions 101 - New Svelte Kit API - YouTube
Become a Level Up Pro and take your web skills to the next level!https://www.leveluptutorials.comThe best web development podcast out ...
Read more >
Major Svelte Kit API Change - Fixing `load`, and tightening up ... kit /discussions/5748Simple Made Easy: a Level Up Pro and take ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found