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

react-native-iphone-x-helper module not found #8

Closed
dmongit opened this issue Aug 29, 2019 · 7 comments
Closed

react-native-iphone-x-helper module not found #8

dmongit opened this issue Aug 29, 2019 · 7 comments
Assignees
Labels

Comments

@dmongit
Copy link

dmongit commented Aug 29, 2019

I get an error that the react-native-iphone-x-helper module can't be found.

I run C:\folder\app\android> ./gradlew assembleRelease

I get this error: error Unable to resolve module react-native-iphone-x-helperfromnode_modules\react-native-dynamic-search-bar\lib\src\SearchBar.style.js: react-native-iphone-x-helper could not be found within the project.

Thanks (again)!

@WrathChaos
Copy link
Owner

Hello @dmongit
Did you install the library?
npm i react-native-iphone-x-helper

@dmongit
Copy link
Author

dmongit commented Aug 29, 2019

@WrathChaos I'd imagine that'd work, but it's inside of your package. My temp fix was to remove the import of react-native-iphone-x-helper from within my instance of your package in node_modules\react-native-dynamic-search-bar\lib\src\SearchBar.style.js

@dmongit
Copy link
Author

dmongit commented Aug 29, 2019

I installed react-native-iphone-x-helper in my project, and that solved the problem up the chain. I think I also missed a module because your dependencies have dependency requirements. This one was on me, though, I think your read me could include that react-native-iphone-x-helper is a required dependency. Thanks!

@WrathChaos
Copy link
Owner

@dmongit Loved to hear that you've solved your problem :) I always try to use less dependent libraries, however sometimes these helpers really awesome and time-saving.

@WrathChaos WrathChaos self-assigned this Sep 2, 2019
@ciruz
Copy link

ciruz commented Dec 5, 2019

Hey @WrathChaos the module react-native-iphone-x-helper is somehow still missing in your dependencies. I know I can install it by hand, but this is no real fix.

@WrathChaos
Copy link
Owner

@ciruz Thank you to remind me. I'm going to remove that dependency with the new release. I will inform you for new release.

@WrathChaos WrathChaos reopened this Dec 6, 2019
@WrathChaos
Copy link
Owner

@ciruz and @dmongit I've released the new version: [0.3.0](https://github.com/WrathChaos/react-native-dynamic-search-bar/releases/tag/0.3.0) please give it a try. There is also an updated with latest versions example.

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

No branches or pull requests

3 participants