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

❗️Hotfix - update react-native-experimental-navigation package #3290

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

jwarykowski
Copy link

Overview

Updated react-native-experimental-navigation to the latest version on the V3 branch, so that I can fix the trailing comma error which was reported and merged two months ago.

@jwarykowski jwarykowski changed the base branch from master to v3 September 24, 2018 09:42
@aksonov
Copy link
Owner

aksonov commented Sep 24, 2018

LGTM!

@aksonov aksonov merged commit 59f67a2 into aksonov:v3 Sep 24, 2018
@jwarykowski
Copy link
Author

@aksonov thanks for the quick turnaround, if possible can you give me an ETA as to when you'll push this version to npm?

@jwarykowski jwarykowski deleted the hotfix/update-dependancy branch September 24, 2018 11:10
@aksonov
Copy link
Owner

aksonov commented Sep 24, 2018 via email

@jwarykowski
Copy link
Author

Hey @aksonov, thanks for pushing this so quickly. I've tested and found a new issue when building the project. We get a naming collision as defined below. I'm running the latest version of react-native.

Loading dependency graph...(node:45537) UnhandledPromiseRejectionWarning: Error: jest-haste-map: @providesModule naming collision:
  Duplicate module name: Sample
  Paths: /Users/jonathanchrisp/development/xxxx/xxxx/node_modules/react-native-router-flux/ReduxExample/node_modules/react-native/Libraries/Sample/package.json collides with /Users/jonathanchrisp/development/xxxx/xxxx/node_modules/react-native/Libraries/Sample/package.json
This error is caused by a @providesModule declaration with the same name across two different files.

Weirdly, looking at the current v3 branch I can't see this ReduxExample folder. Has this been added accidentally?

@jwarykowski
Copy link
Author

Just to note, upon removing the folder everything builds as expected.

@aksonov
Copy link
Owner

aksonov commented Sep 24, 2018

Probably so. Feel free to submit PR. v3 is not supported

@jwarykowski
Copy link
Author

Hi @aksonov, just to make sure, I just ran npm pack locally and didn't get the ReduxExample folder added to the tar package. If possible was this added by mistake when you pused the version earlier? I can't see how this got here otherwise, are you able to check whether you had this within your directory when you published the project?

@aksonov
Copy link
Owner

aksonov commented Sep 24, 2018

Strange. Check v3.44.1 now

@jwarykowski
Copy link
Author

Hey @aksonov, just pulled down and retested/rebuilt and looks to be working as expected now. Thanks again for the prompt updates, we're looking to move off version 3 soon, hopefully one day you'll be able to remove this branch! 🍻

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

Successfully merging this pull request may close these issues.

2 participants