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.

Please notice warning/error in develop mode.

See original GitHub issue

Describe the problem

Svelte is blaze fast for new front end. I have big problem after work with Svelte Kit. I work hard ~4 hours per day for re-write my website from Hugo, React to full Svelte Kit (kit).

In develop mode, i have warning for un-use css and it’s not problem. But my story start when go to Production mode. With Redux-Toolkit. Svelte Kit compiler show error with esm moule. redux not support ESM?. No, compiler can’t map redux-rtk to esm module. I need create a wrapper to @reduxjs/toolkit/dist Next, i start enable legacy mode in vite. And .svelte-kit/output/client/vite-manifest.json is not found. I can’t change any options with svelte.config.js compilerOptions 😦

After ~7 days for re-write. I back to Next.js with Layout RFC.

Describe the proposed solution

Please alert any problem with build early. In my case, i can’t wait for fixed it

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
und3finedcommented, Oct 25, 2022

@benmccann U can help me fix build with @vitejs/plugin-legacy? I’ll wait about 1 day, before moving all the code to Next.js

Sorry for any direct request

1reaction
benmccanncommented, Oct 25, 2022

I’m going to close this as a duplicate of https://github.com/sveltejs/kit/issues/7154. Please try the solution mentioned there: https://github.com/sveltejs/kit/issues/7154#issuecomment-1276404576

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Turn Off PHP Errors in WordPress - WPBeginner
Do you want to turn off PHP errors displayed on your WordPress website? Learn how to easily turn off PHP errors in WordPress....
Read more >
Warning, Error, and Completion Messages - Oracle Help Center
Warning, Error, and Completion Messages. This section describes the different types of messages issued by Export and how to save them in a...
Read more >
How to Automate PHP Error Logging Quickly - Cloudways
You can log PHP errors at your will when working in the dev mode. Either create a PHP error log ... Warning Error;...
Read more >
PHP Errors: 4 Different Types (Warning, Parse, Fatal, and ...
Learn about the 4 types of errors in PHP (Warning Errors, Notice Errors, ... A warning error in PHP does not stop the...
Read more >
Throw exception on notice in debug mode · Issue #35336
A notice (for example : "Notice: Undefined variable: index"), throws an exception in debug mode in dev env. How to reproduce
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