NotionX / NotionX/react-notion-x

notion-client not supported with bun

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.4k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

Description

When trying to use bun, notion-client does not return anything. notion-client does not throw errors, it just never returns with data.
I am not sure if this is because node is required to run notion-client or not. Even with node on the system it does not retrive the data, it has to be run with node.

Notion Test Page ID

Anything that notion-client can retrieve.

Contributor guide

Open the contributing guide

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

No source file or test is named. Reproduce a Notion data retrieval request with notion-client under Bun and Node using a valid Notion test page, then compare the behavior and identify the runtime-specific failure. Done means the request returns data under Bun or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, typescript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.