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

Any import from library breaks React native application #4574

Closed
cagataygurturk opened this issue Jun 26, 2016 · 1 comment
Closed

Any import from library breaks React native application #4574

cagataygurturk opened this issue Jun 26, 2016 · 1 comment
Labels
core Infrastructure work going on behind the scenes out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future)

Comments

@cagataygurturk
Copy link

cagataygurturk commented Jun 26, 2016

Hello,

I am having an issue with react-native. First of all I don't know exactly if react native support is already done but as far as I understand from closed issues in this repository, there is support, that's why I am trying to run the library with react-native.

Well I'll directly share the example project to demonstrate the issue:
https://github.com/cagataygurturk/material-ui-native-test

This project is running well without material-ui. However when I import a component from material-ui I get this error in mobile device:

http://i.hizliresim.com/v4y4P6.png

And

NotFoundError: Cannot find entry file global code@http://localhost:8081/src/app/index.ios.js in any of the roots: ["/data/work/merkur/material-test"]
    at DependencyGraph._getAbsolutePath (/data/work/merkur/material-test/node_modules/node-haste/lib/index.js:288:13)
    at /data/work/merkur/material-test/node_modules/node-haste/lib/index.js:226:30
    at process._tickCallback (internal/process/next_tick.js:103:7)

on console.

The problematic line is here: https://github.com/cagataygurturk/material-ui-native-test/blob/master/src/app/components/pages/NativeTest.js#L3

I think it's some problem related to babel, but no idea so far. Thanks for help.

@oliviertassinari
Copy link
Member

oliviertassinari commented Jun 26, 2016

there is support, that's why I am trying to run the library with react-native.

There is no support for react-native as we are speaking. I have done a Proof Of Concept some time ago, that's all.

Will we have it in the future?
It's technically possible (E.g. react-swipeable-views).
That's a really a matter of commitment. I don't know.

I'm going to close this issue in favor of #593.

@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 21, 2022
@zannager zannager added core Infrastructure work going on behind the scenes out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future) and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes out of scope The problem looks valid but we won't fix it (maybe we will revisit it in the future)
Projects
None yet
Development

No branches or pull requests

3 participants