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

geocoder.js file does not compile #6

Open
devashreeganesha108gmailcom opened this issue Apr 24, 2018 · 3 comments
Open

geocoder.js file does not compile #6

devashreeganesha108gmailcom opened this issue Apr 24, 2018 · 3 comments

Comments

@devashreeganesha108gmailcom

I am actually using react-native-geocoding for my ReactJS app. Although I should not have used a native library for a ReactJS app, the code somehow works. While running the build script from the command line, an error message pops up saying that the geocoder.js file cannot be minified. Is there any solution this problem as I am trying to deploy my website to the server.

Any help would be greatly appreciated.

@yairopro
Copy link
Contributor

When I've got errors of compiling, I try to remove code and recompile to test and check what exact part of the code doesn't compile. You should do the same with the Geocoder.js file. Since its code is quite simple, you should make a try and delete part by part until you know what's the exact line of code which makes problem.

@devashreeganesha108gmailcom
Copy link
Author

Hi there..
Thanks for your response...
The command line already shows me the line where the error occured, but I wonder how that would help in solving the problem. The code in geocoder.js file was written by the developer whose implementation is beyond my understanding. I've read that in some cases the ES6 code does not get converted to ES5 code for minification.

Would be great if you could let me know on this issue.
cheers

@yairopro
Copy link
Contributor

yairopro commented Apr 25, 2018

Give me the line of code please.
I will try to help you.

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