Comments (13)
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.
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.
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.
@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.
@petrbrzek did you published the changes into npm? Because it is installing the version before your changes.
from nachos-ui.
@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.
@casperle I didn't, thanks. Published now as 0.1.1.
from nachos-ui.
RN 0.38, Nachos 0.1.1 same problem
from nachos-ui.
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.
@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.
Info has been added ca7de99
from nachos-ui.
i'm using 0.43.3 and it's giving me the same errors.
from nachos-ui.
RN 0.43.4 face the same issue
from nachos-ui.
Related Issues (20)
- 'react-native' dependency is not installed. HOT 3
- Issues revolving around the duplication of RN or React deps HOT 2
- CI server failing due to issues with old NPM HOT 1
- Styling Radio button HOT 3
- Move `Switcher` to use context
- Generate Sketch files using default or extended theme
- Action required: Greenkeeper could not be activated 🚨 HOT 1
- Not working with Redux HOT 12
- Website has broken doc links HOT 2
- how do i integrate nachos-ui with react-native-web HOT 6
- Error "Cannot read property 'color' of undefined" HOT 2
- Not working HOT 9
- Color won't update on Bubble HOT 1
- Feature enhancement request: animation on progress bar HOT 4
- Invariant Vioation after importing Switcher HOT 1
- Specify own icon component HOT 1
- <ThemeProvider /> branding changes does not dynamically update nested themed components. HOT 1
- update all dependencies HOT 1
- flex:1 on Button HOT 1
- TabButton inside Switcher error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nachos-ui.