NotionX / react-notion-x

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

notion-client not supported with bun #532

Open Parker-Bergen opened 8 months ago

Parker-Bergen commented 8 months 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 4 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.