当我将 sendbird SDK 安装到 expo 托管反应原生项目中时,我收到以下错误:
The package at "node_modules/sendbird/SendBird.min.js" attempted to import the Node standard library module "fs". It failed because React Native does not include the Node standard library. Read more at https://docs.expo.io/versions/latest/introduction/faq/#can-i-use-nodejs-packages-with-expo
但是 fs 是一个节点包,它不是 react native 运行的环境。我查看了 Sendbird 示例,并在其他应用程序中使用了相同的 SDK。我做错了什么?