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

Error while using it in react-native app. #345

Closed
naveen-agula opened this issue Jan 25, 2019 · 2 comments
Closed

Error while using it in react-native app. #345

naveen-agula opened this issue Jan 25, 2019 · 2 comments
Labels
invalid This doesn't seem right

Comments

@naveen-agula
Copy link

Hi,
I'm getting the
"error: bundling failed: Error: Unable to resolve module assert from /Users/KeplerTestApp/node_modules/kepler.gl/dist/processors/data-processor.js: Module assert does not exist in the Haste module map"

When I import the "import KeplerGl from 'kepler.gl';" in React-Native App. Please help me on this.
I have attached the screenshot.

screen shot 2019-01-25 at 5 38 31 pm

@macrigiuseppe
Copy link
Collaborator

Hi @naveen-agula , thank you for sharing this with us. Unfortunately we never tested kepler.gl with react-native but if you shared your code with us or a demo project where we can replicate your issue we are going to take a look at.

Thank you.

@macrigiuseppe
Copy link
Collaborator

@naveen-agula it looks some standard Node core modules, e.g. assert, are not included in react-native. Please check this out: facebook/react-native#21405 for more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants