GithubHelp home page GithubHelp logo

Comments (13)

batjko avatar batjko commented on June 8, 2024 1

Same with RN 0.50 (via the create-react-native-app cli, which uses Expo).

No work on this for half a year and there are also two other issues open for what seems to be the same issue. Given the CRNA popularity, is it fair to say this issue won't be fixed, or the project is no longer being maintained?

from nachos-ui.

casperle avatar casperle commented on June 8, 2024

I tried it with react-native v0.39, v0.40 and v0.41. It is working only with version 0.40. The latest stable version is 0.41, so I had to install rninit package to set up a project with a correct version of react-native.
Can you please make it compatible with newer versions? Thank you.

from nachos-ui.

renekopcem avatar renekopcem commented on June 8, 2024

I've just tried to update the React Native to v0.41, downgrade to v0.39, and both versions work. It looks like a different issue from what I see on StackOverflow and Github - http://stackoverflow.com/questions/38885760/react-native-packager-failure-duplicate-module-name
oblador/react-native-vector-icons#379

from nachos-ui.

petrbrzek avatar petrbrzek commented on June 8, 2024

@casperle I changed the package.json to accept newer versions of React Native (https://github.com/avocode/nachos-ui/blob/master/package.json#L41). Can you try it out, please?

from nachos-ui.

casperle avatar casperle commented on June 8, 2024

@petrbrzek did you published the changes into npm? Because it is installing the version before your changes.

from nachos-ui.

casperle avatar casperle commented on June 8, 2024

@renekopcem I tried all the variants and I get the same error all the time. There is a collision between versions of react-native in the dependency of nachos-ui and what I am using in my project.

from nachos-ui.

petrbrzek avatar petrbrzek commented on June 8, 2024

@casperle I didn't, thanks. Published now as 0.1.1.

from nachos-ui.

jurajkrivda avatar jurajkrivda commented on June 8, 2024

RN 0.38, Nachos 0.1.1 same problem

from nachos-ui.

casperle avatar casperle commented on June 8, 2024

So here is the answer. If you have installed the same version of RN as the dependency in nachos-ui (>=0.40.0), everything works fine. I tried every scenario with a new project, not downgrade or upgrade.
@petrbrzek Now it is working fine, because npm is not installing the other version of RN as a dependency in nachos-ui, but it is using the installed one.

For me it is not working with lower version of RN as 0.40.0. In that scenario there is always an error with version mismatch or naming collision. It is not only in react-native-vector-icons, but also in other packages where is not the same version.

@petrbrzek I think there is two ways to fix it. First, you can delete the dependency of RN from package.json and warn people that they have to install RN as a dependency of their project - I don't exactly know how it will work when they want to use it on web of with lower version of RN. The second opinion is that you can make a notice somewhere that people can use nachos-ui only with newer versions of RN as v0.40.0 included.

from nachos-ui.

petrbrzek avatar petrbrzek commented on June 8, 2024

@casperle Thanks for your message. As there is a breaking change in RN 0.40.0, I'll probably choose the second option and add a notice that this kit requires RN >=0.40.0.

from nachos-ui.

petrbrzek avatar petrbrzek commented on June 8, 2024

Info has been added ca7de99

from nachos-ui.

roderickfung avatar roderickfung commented on June 8, 2024

i'm using 0.43.3 and it's giving me the same errors.

from nachos-ui.

wv1124 avatar wv1124 commented on June 8, 2024

RN 0.43.4 face the same issue

from nachos-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.