-
-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error loading metro config: Cannot find module 'tslib' #4562
Labels
Comments
7 tasks
Hi @DaniFoldi, We will remove the |
Hi @krystofwoldrich, Awesome, thanks for the quick resolution! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What React Native libraries do you use?
React Navigation, Expo (mobile only), Expo Application Services (EAS)
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
6.6.0
How does your development environment look like?
OS: macOS 15.3
Node: 22.11.0
Expo: 52.0.35
react: 18.3.1
react-native: 0.77.0
although I think what is more relevant: we use pnpm for package manager, and it's set up as a workspace.
The app lives in
/packages/app
.Sentry.init()
Steps to Reproduce
The reason (I suspect) is that
tslib
is not declared as a dependency, but somehow ends up in the built filedist/js/tools/metroconfig.js
(and others, but this is the first one to be found by the build process).Expected Result
tslib is depended upon, and therefore found while importing it
Actual Result
The text was updated successfully, but these errors were encountered: