-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
bundling failed:Unable to resolve module (rn version 0.46.4) #15364
Comments
any facebook offical solution for this issue? @hramos |
i miss the same issue. did you resolved it? @craftdong |
i miss the same issue. did you resolved it? @hramos |
Three mentions within seconds of creating the issue is a bit excessive. In any case, there's already an issue open about this in #14980. |
Duplicate of #14980 |
Image naming cannot be @ symbol |
run this in cmd : |
But this command not working react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res |
in react-native version 0.44,the code below runs well
require('./img/tabbar/pfb_tabbar_homepage_selected@2x.png')
but when i update react-native to version 0.46.4, the code runs error.
the error msg shows:
bundling failed: "Unable to resolve module ./img/tabbar/pfb_tabbar_homepage@2x.png from F:\code\react-native\meituanCopy\src\RootScene.js: could not resolve `F:\code\react-native\meituanCopy\src\img\tabbar\pfb_tabbar_homepage@2x.png' as a folder: it did not contain a package, nor an index file"
The text was updated successfully, but these errors were encountered: