ethereum-blockies-base64 icon indicating copy to clipboard operation
ethereum-blockies-base64 copied to clipboard

Issue building after adding this module

Open elie222 opened this issue 7 years ago • 5 comments

yarn build v1.0.2
$ react-app-rewired build
Creating an optimized production build...
Failed to compile.

Failed to minify the code from this file:

        ./node_modules/ethereum-blockies-base64/dist/main.js:64

Read more here: http://bit.ly/2tRViJ9

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

See here for the issue at hand: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify

elie222 avatar Apr 04 '18 18:04 elie222

Thanks for the report. Looks like in order to solve this, we'll need to do some ES5 transpiling for the build via Babel. I'll look into that, should be pretty straightforward.

wbobeirne avatar Apr 08 '18 17:04 wbobeirne

same (or similar) here:

static/js/main.2b49b398.js from UglifyJs
SyntaxError: Unexpected token name «i», expected punc «;» [./~/ethereum-blockies-base64/dist/main.js:64,0]

scelts avatar May 30 '18 22:05 scelts

+1 for:

static/js/main.50560590.js from UglifyJs
SyntaxError: Unexpected token name «i», expected punc «;» [./~/ethereum-blockies-base64/dist/main.js:64,0]

Using: truffle-react-box 0.1.0

sweatyc avatar Aug 10 '18 04:08 sweatyc

A temporally solution for people like me, who don't know anything about babel, webpack or uglifyjs, just convert the whole main.js in babeljs.io and paste it back

sweatyc avatar Aug 13 '18 07:08 sweatyc

Anyone addressing this?

kielbarry avatar Sep 27 '18 22:09 kielbarry