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

TypeError: loader is not a function #12703

Closed
allmors opened this issue Sep 23, 2024 · 2 comments
Closed

TypeError: loader is not a function #12703

allmors opened this issue Sep 23, 2024 · 2 comments

Comments

@allmors
Copy link

allmors commented Sep 23, 2024

Describe the bug

Create a simple route and the console reports an error
image
image
image

Reproduction

Install the sveltekit project normally

Logs

No response

System Info

System:
    OS: Linux 5.10 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (4) x64 AMD EPYC 7763 64-Core Processor
    Memory: 3.89 GB / 7.77 GB
    Container: Yes
    Shell: Unknown - /bin/sh
  Binaries:
    Node: 20.16.0 - /usr/bin/node
    npm: 10.8.1 - /usr/bin/npm
    pnpm: 9.6.0 - /usr/bin/pnpm
  npmPackages:
    @sveltejs/adapter-auto: ^3.0.0 => 3.2.5 
    @sveltejs/kit: ^2.0.0 => 2.5.28 
    @sveltejs/vite-plugin-svelte: ^3.0.0 => 3.1.2 
    svelte: ^4.2.7 => 4.2.19 
    vite: ^5.0.3 => 5.4.6

Severity

annoyance

Additional Information

No response

@allmors
Copy link
Author

allmors commented Sep 23, 2024

Why does sveltekit have so many errors? Compared with nextjs, it is really bad.
sveltekit is really not suitable to use
image
image

@eltigerchino
Copy link
Member

Please provide a minimal reproduction in the form of a downloadable repository or stackblitz link so that we can diagnose the root cause of the problem. I'll be closing this until one is provided.

@eltigerchino eltigerchino closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2024
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