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

Expo support #54

Closed
kross77 opened this issue Jun 3, 2018 · 6 comments
Closed

Expo support #54

kross77 opened this issue Jun 3, 2018 · 6 comments

Comments

@kross77
Copy link

kross77 commented Jun 3, 2018

Hello, i'm trying to run my react-native-scripts project and have the issues.
First, the command run the, (review the node package)
react-native run-dom --port=19000, but he don't recognize this option
But i can run the packager on 8081 port

Second, i'm not sure that is related with first issue. When i'm starting
i've the error:
bundling failed: Error: Unable to resolve module "./BarCodeScanner" from "/node_modules/expo/src/Expo.js": The module "./BarCodeScanner" could not be found from "node_modules/expo/src/Expo.js". Indeed, none of these files exist:
In Expo BarCodeScanner we have the file with extension BarCodeScanner.web.js, so it is good to support compilation for this one.

@vincentriemer
Copy link
Owner

It's actually the other way around, this project can technically "support" expo but expo does not support the dom platform.

@kross77
Copy link
Author

kross77 commented Jun 3, 2018

Could you say more about technically support?

@vincentriemer
Copy link
Owner

vincentriemer commented Jun 3, 2018 via email

@kross77
Copy link
Author

kross77 commented Jun 4, 2018

@vincentriemer But expo has support for the web platform, what i'm request, not support all features from framework, but do the demo what is run with expo framework. For my point, now it is supporting the compiling the files with extension .web.js, and i can't find where i can do it in your code, may be you show the place or file where i can add this support.

@vincentriemer
Copy link
Owner

This project uses dom.js not web.js because platform-specific code written for RNW is incompatible with RND

@kross77
Copy link
Author

kross77 commented Jun 4, 2018

Thanks for reply.

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

No branches or pull requests

2 participants