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

unable to resolve module #7

Closed
satishmane opened this issue Sep 5, 2017 · 2 comments
Closed

unable to resolve module #7

satishmane opened this issue Sep 5, 2017 · 2 comments

Comments

@satishmane
Copy link

I removed node_modules completely and then npm install. I can see react-d3-speedometer in my node_modules, but without src folder in it. At least earlier it used to fail with error "Expected Component, but got class", but now it fails even before that with error unable to resolve module. Can you please let me know reason?

@palerdot
Copy link
Owner

palerdot commented Sep 5, 2017

May I know is this related to using react-d3-speedometer in React Native? As mentioned earlier, this component cannot be used in native apps as it uses ReactDOM for all the rendering stuff. For this particular query, I have no idea unless I can look into your dev setup as it is not directly releated to the library api. Please reopen if you would like to share more info if it is not related to using in a react native app.

@palerdot palerdot closed this as completed Sep 5, 2017
@satishmane
Copy link
Author

Yes, I understand that this component can not be used in react-native. However I want to get to the point where it used to resolve at least dependancy, but used to fail during react-native app launch. Now it is failing even before that. I want to fork this project and play with it to make it compatible for react-native

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