Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I disable Vite's SSR? #2625

Closed
monomadic opened this issue Oct 18, 2021 · 1 comment
Closed

How can I disable Vite's SSR? #2625

monomadic opened this issue Oct 18, 2021 · 1 comment

Comments

@monomadic
Copy link

Describe the bug

I have no single bug to lodge here because there are so many. SSR and Vite have made dealing with any external library a complete nightmare in SvelteKit, which is otherwise great.

How can I completely disable SSR so that I can ignore this giant class of bugs? Or perhaps there should be an effort to move away from Vite if this is not possible.

Reproduction

I've been using many libraries, but one example recently is any solana library.

Logs

No response

System Info

System:
    OS: macOS 11.5.2
    CPU: (8) arm64 Apple M1
    Memory: 111.97 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.11.1 - /opt/homebrew/bin/node
    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 8.1.0 - /opt/homebrew/bin/npm
  Browsers:
    Brave Browser: 94.1.30.87
    Firefox: 93.0
    Safari: 14.1.2
  npmPackages:
    @sveltejs/kit: next => 1.0.0-next.184 
    svelte: ^3.43.2 => 3.43.2

Severity

blocking all usage of SvelteKit

Additional Information

I'm not a new developer, I'd consider myself fairly experienced, so if I have problems with this, and every time I crack out Svelte I have trouble I can't imagine what new users would be experiencing. I'd be extremely hesitant to use SvelteKit in production purely because of SSR issues.

@babichjacob
Copy link
Member

Please contribute to #1650 to help solve this. Closing this to keep discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants