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

Requests hanging with adapter-node #5450

Closed
johnnysprinkles opened this issue Jul 10, 2022 · 2 comments
Closed

Requests hanging with adapter-node #5450

johnnysprinkles opened this issue Jul 10, 2022 · 2 comments

Comments

@johnnysprinkles
Copy link
Contributor

Describe the bug

Today I did "npm update" after a long time to get everything current (still on 1.0.0-next.250). Got the latest (1.0.0-next.367) and my requests started hanging. So then I tried a brand new SvelteKit project and the same thing is happening. Details below.

Reproduction

  1. Standard setup instructions
npm create svelte my-app
cd my-app
npm install
  1. Switch to adapter node and build/run
npm i @sveltejs/adapter-node

Edit svelte.config.js to be

- import adapter from '@sveltejs/adapter-auto';
+ import adapter from '@sveltejs/adapter-node';

Build/run

npm run build
node build/index.js

Looks like it fires up on 3000 but requests spin forever.

Logs

No response

System Info

System:
    OS: macOS 11.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz
    Memory: 524.16 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.5.0 - ~/.nvm/versions/node/v18.5.0/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 8.12.1 - ~/.nvm/versions/node/v18.5.0/bin/npm
  Browsers:
    Chrome: 103.0.5060.114
    Firefox: 101.0.1
    Safari: 14.1.2
    Safari Technology Preview: 15.4
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.55
    @sveltejs/adapter-node: ^1.0.0-next.79 => 1.0.0-next.79
    @sveltejs/kit: next => 1.0.0-next.367
    svelte: ^3.44.0 => 3.49.0
    vite: ^2.9.13 => 2.9.14

Severity

blocking an upgrade

Additional Information

No response

@n-pn
Copy link

n-pn commented Jul 10, 2022

duplicate of #5431

@johnnysprinkles
Copy link
Contributor Author

Oh sorry, I did see that one but thought it was his unlimited request body size issue. Closing.

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