react-native-material-design icon indicating copy to clipboard operation
react-native-material-design copied to clipboard

cannot run the demo app for android due to alt dependency

Open vladp opened this issue 9 years ago • 11 comments
trafficstars

the demo app relies on alt, however since React-native-18 (or higher) alt conflicts with react-native via fbjs I had submitted a bug report to alt, they had closed it, however their suggested workaround does not work

https://github.com/goatslacker/alt/issues/622

not sure if other folks running into the problem with the demo app

vladp avatar Feb 20 '16 03:02 vladp

Try [email protected], Let me know if it works.

avishayil avatar Feb 20 '16 16:02 avishayil

Thx for the suggestion. Unfortunately it did not work for me Error is:

Failed to build DependencyGraph: Naming collision detected: C:\node_modules\fbjs\flow\include\CSSCore.js collides with C:\node_modules\fbjs\lib\CSSCore.js Error: Naming collision detected: C:\node_modules\fbjs\flow\include\CSSCore.js collides with C:\node_modules\fbjs\lib\CSSCore.js

My package.json

 "dependencies": {

    "alt":"^0.18.0",
    "react-native": "0.20.0",

    "@remobile/react-native-splashscreen": "^1.0.3",

    "react-native-blur": "^0.7.6",
    "react-native-htmlview": "^0.2.0",


    "react-native-material-kit": "^0.3.0", 
    "react-native-material-design": "^0.3.2"
    }

npm version 3.7.3
nodejs version 4.2.6
this particular ran was on win 10 (my dev boxes are both ubuntu-derived linux and win 10 )

vladp avatar Feb 20 '16 19:02 vladp

Why do you have fbjs modules installed on C:? Where's your project directory?

avishayil avatar Feb 24 '16 16:02 avishayil

The issue appears to be with flux. They know about it, but do not seem to plan to have that resolved. Instead suggested to wait for next release of react-native that would allow multiple copies of fbjs being used

https://github.com/facebook/flux/issues/329

vladp avatar Feb 27 '16 21:02 vladp

Thanks for pointing that out! I'll take a look at what the temp work around is.

Ehesp avatar Feb 29 '16 10:02 Ehesp

+1 up. fix it please

ufon avatar Mar 07 '16 15:03 ufon

+1 up, same problem for me

fxhereng avatar Mar 18 '16 07:03 fxhereng

Same problem

sathwik2020 avatar Mar 20 '16 20:03 sathwik2020

still not working

duketwo avatar Apr 08 '16 09:04 duketwo

I can't run the demo as well, but I'm getting:

Error

druvisc avatar Jul 25 '16 09:07 druvisc

the demo is good for me

lakeoffaith avatar Jul 25 '16 11:07 lakeoffaith