NotionX / react-notion-x

Fast and accurate React renderer for Notion. TS batteries included. ⚡️
https://react-notion-x-demo.transitivebullsh.it
MIT License
4.88k stars 570 forks source link

notion-client not supported with bun #532

Open Parker-Bergen opened 1 year ago

Parker-Bergen commented 1 year ago

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.

janek commented 8 months ago

Thanks so much for reporting this, I had this issue and just assumed notion-client is broken. But it works fine when not ran with bun.