-
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
jest-haste-map: Haste module naming collision: react-native #26397
Comments
you might be importing package.json in your js code. Remove that import and then try to start your bundler again. |
@Frindecent , I have found that |
You donot need to remove package.json from the dependencies or packages.. lets say ‘react-native-vector-icons’. |
@Frindecent , the only place where I saw in our own code that
I could not comment it out from the last one because it would error out. Results: Still getting in Metro Packager:
|
You will need to comment it out from the last one too.. check what is the version in package.json.. and then after commenting write Const version = “whatever the version is” . So you wont have errors.. and next time while changing the version of the app you will change from here too |
@Frindecent , I did the following refactor to
I still get the following error when running
The only way I am able to get the scripts working is by running:
To be clear this does not resolve it, it eventually creates the |
The way I had to resolve this was by first running |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
When I run a local script to build an
.ipa
I consistently get the following error in Metro Packager console:I have tried doing an
rm -rf ios/build
but I continue to get the above error.React Native version:
Steps To Reproduce
node_modules/react-native-immediate-phone-call/android/build.gradle AND
node_modules/react-native-swipe-view/android/build.gradle
change compileSdkVersion to 28
change targetSdkVersion to 27
Describe what you expected to happen:
The script executed with npm run build should successfully create an apk that gets stored inside of
Dist/
folder, but the.ipa
is not generated because of the above error.https://www.dropbox.com/s/9ic96cz9qupi97j/ipa_release_2.0.zip?dl=0
The text was updated successfully, but these errors were encountered: