-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[🐛] Unable to resolve module #8163
Comments
🤔 I suspect something is interfering with module resolution somehow in metro config or similar, but no proof https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh |
Thanks for the hint. I Just came to report my metro config and version: Metro version
Metro config
|
☝️ still valid suspect MetroSymlinksResolver is not meeting our expectations here for some reason. It isn't a package I use or have tested, so no idea unfortunately |
I am going to try to make a reproduction in an new react native project. Should I not succeed in making reproduction I will also let you know. This will probably be tomorrow. |
Issue
After building dev build for Android or iOS the app starts i get the error:
Release build fails during build when compiling bundle.
I was using React Native
74.7
in combination with react-native-firebase21.2.0
. I have tried upgrading to React Native76.1
and react-native-firebase21.6.1
but the issue remains.The issue occured when I was creating detox tests, but even without detox or clean cache, reinstalled node_modules, native caches, metro cache, or even removing the repository and completely install it from scratch this issue is still there
When I replace
import { firebase } from '..'
forimport { firebase } from '@react-native-firebase/app';
in all the packages the issue is fixed. But then other imports withfrom '..'
still break.I have tried using
npm
,yarn
andpnpm
to solve the issue but no difference between them.Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:21.2.0
21.6.1
Firebase
module(s) you're using that has the issue:TypeScript
?Yes
&^5.6.3
Other information did not seem to be related to the issue due to a issue with resolving the package in metro. But if you like more information let me know.
A related issue can be found here but it was closed due to incorrect issue formatting
The text was updated successfully, but these errors were encountered: