Skip to content
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

"No package name found" #7896

Open
1 task done
ejain opened this issue Jul 16, 2024 · 1 comment
Open
1 task done

"No package name found" #7896

ejain opened this issue Jul 16, 2024 · 1 comment

Comments

@ejain
Copy link
Contributor

ejain commented Jul 16, 2024

What happened?

After upgrading react-native-navigation from 7.39.2 to 7.40.1, builds with React Native 0.70.x (or older?) fail:

error Failed to build the app: No package name found. We couldn't parse the namespace from neither your build.gradle[.kts] file at node_modules/react-native-navigation/lib/android/app/build.gradle nor your package in the AndroidManifest at node_modules/react-native-navigation/lib/android/app/src/main/AndroidManifest.xml.

This breaking change appears to have been introduced in 6439f68.

What was the expected behaviour?

No response

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version: 7.40.1
React Native version: 0.70.15
Node version: 18.19.0

@JB712
Copy link

JB712 commented Jul 19, 2024

Got something similar after app build with RNN 7.40.1 and RN 0.73.9 for every module that is not accessed by path (so every one that have a package.json in it's folder):
Error: Unable to resolve module "module_name" [...] "module_name" could not be found within the project or in these directories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants