Closed ryancoughlin closed 6 years ago
0.0.3
version worked without any errors?
Yup! Worked great, locally but ran into https://github.com/shukerullah/react-geocode/issues/2. I saw this message and upgraded to fix that deploy issue which raised this new error.
updated package to 0.0.5
, can you please try again?
This error is now gone, but I still get the same error as the other issue when deploying:
5:53:58 PM: $ react-scripts build
5:53:59 PM: Creating an optimized production build...
5:54:11 PM: Failed to compile.
5:54:11 PM: Failed to minify the code from this file:
5:54:11 PM: ./node_modules/react-geocode/index.js:8
5:54:11 PM: Read more here: http://bit.ly/2tRViJ9
5:54:11 PM: error Command failed with exit code 1.
5:54:11 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
5:54:11 PM: error Command failed with exit code 1.
5:54:11 PM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
At the moment, you can move src/index.js
to your src/
folder and treat it as application code. I will find its better solution later.
Duplicate of #2
I just updated the package to 0.0.4 and am getting the following errors as soon as I boot up the project.
Let me know if there is anything else I can provide.