nuxt-modules / nuxt-modules/kinde

Unexpected end of JSON input error when version is greather than 0.1.6

Open
#198 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
91
Forks
8
Avg merge
5h 5m
Merged PRs (30d)
18

Description

Hello,

Cloning the kinde-nuxt-starter-kit and upgrading the package from 0.1.6 to the lastest available 0.1.11 is crashing the project with the following error :

500
Unexpected end of JSON input

at parseJSONFromBytes (node:internal/deps/undici/undici:5682:19)
at successSteps (node:internal/deps/undici/undici:5663:27)
at fullyReadBody (node:internal/deps/undici/undici:4561:9)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async consumeBody (node:internal/deps/undici/undici:5672:7)

I am running with lastest LTS node version v22.11.0 with up to date npm.

Ran npm cache clean --force for be sure about corruption.

I could not find from where the problem is, but there is something bad here :(

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by running the kinde-nuxt-starter-kit with package versions 0.1.6 and 0.1.11 under Node v22.11.0, then compare the behavior and inspect the package entry points involved in the failing request. No source file or test is named; done means the starter kit runs without the Unexpected end of JSON input error after upgrading.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, nuxtjs, typescript
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.