-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Which package/packages do you use?
-
@stream-io/video-react-native-sdk
Describe the bug
When I use the @stream-io/video-react-native-sdk
in a monorepo expo app, I receive the following error
WARN Attempted to import the module "/Users/sohelislamimran/Development/kuno-frontend/node_modules/@stream-io/react-native-webrtc/node_modules/event-target-shim/index" which is not listed in the "exports" of "/Users/sohelislamimran/Development/kuno-frontend/node_modules/@stream-io/react-native-webrtc/node_modules/event-target-shim" under the requested subpath "./index". Falling back to file-based resolution. Consider updating the call site or asking the package maintainer(s) to expose this API.
iOS Bundling failed 1011ms node_modules/expo-router/entry.js (3181 modules)
The package at "node_modules/axios/dist/node/axios.cjs" attempted to import the Node standard library module "crypto".
It failed because the native React runtime does not include the Node standard library.
Learn more: https://docs.expo.dev/workflow/using-libraries/#using-third-party-libraries
This is because @stream-io/video-react-native-sdk
have a dependencie @stream-io/video-client
and it uses axios": "^1.8.1"
And that specific version of axios exports the node API in require.
To Reproduce
Steps to reproduce the behavior:
- Create a monorepo
- Add a new expo app in the apps
- install @stream-io/video-react-native-sdk and use it in the app
- See error
Expected behavior
It should work without issue
Screenshots
If applicable, add screenshots to help explain your problem.

Version
- ^1.11.2
Env:
expo-env-info 1.2.2 environment info:
System:
OS: macOS 15.4
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - /usr/local/bin/node
npm: 10.9.0 - /opt/homebrew/bin/npm
Watchman: 2025.03.10.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.15.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.4, iOS 18.4, macOS 15.4, tvOS 18.4, visionOS 2.4, watchOS 11.4
IDEs:
Android Studio: 2024.3 AI-243.24978.46.2431.13208083
Xcode: 16.3/16E140 - /usr/bin/xcodebuild
Expo Workflow: managed
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working