Closed olee2002 closed 6 years ago
I will fix by tomorrow. Thank you for raising this issue.
I have updated package, you may test it now.
The issue is still persisting. I wonder why? at least it changed the line of the issue from 8 to 29.
remote: Creating an optimized production build...
remote: Failed to compile.
remote:
remote: Failed to minify the code from this file:
remote:
remote: ./node_modules/react-geocode/lib/index.js:29
remote:
remote: Read more here: http://bit.ly/2tRViJ9
remote:
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno 1
remote: npm ERR! client@0.1.0 build: react-scripts build
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the client@0.1.0 build script.
I am getting this same thing on Netlify:
5:28:17 PM: Failed to compile.
5:28:18 PM: Failed to minify the code from this file:
5:28:18 PM: ./node_modules/react-geocode/lib/index.js:29
5:28:18 PM: Read more here: http://bit.ly/2tRViJ9
5:28:18 PM: error Command failed with exit code 1.
@ryancoughlin can you please try 0.0.7
? Let me know if its works at your end.
Same result here.
Was just looking at this: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#resolving-heroku-deployment-errors
Appreciate your help.
It still doesn't work unfortunately. Tried that today. On both Heroku and local environment it isn't possible to build a solution from create-react-app with this package.
Failed to minify the code from this file: ./node_modules/react-geocode/lib/index.js:2 Read more here: http://bit.ly/2tRViJ9
I have updated this lib to v0.1.2 and tested with create-react-app's "react-scripts build"
command. Please update to latest version.
First of all, thanks for this amazing package. It works really well in my localhost but I do get an error message when I try to push the app to Heroku. Could you take a look at this issue? I am trying to use your package for my final project which is due on this Friday so it would be nice if this can be resolved soon. If not, unfortunately, I would have to find another one. As long as your time is allowed.
http://bit.ly/2tRViJ9