Closed
Description
Is this a bug report?
Not sure
Can you also reproduce the problem with npm 4.x?
Yes
Which terms did you search for in User Guide?
deploy
configure
Environment
node -v
: v8.2.1npm -v
: 5.3.0yarn --version
(if you use Yarn):npm ls react-scripts
(if you haven’t ejected): [email protected]
Then, specify:
- Operating system: ubuntu 16.04
- Browser and version (if relevant):
Steps to Reproduce
(Write your steps here:)
- npm i eosjs-ecc
- require('eosjs-ecc')
- npm run build
Expected Behavior
success
Actual Behavior
npm run build
> react-scripts build
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
../ecc/src/key_public.js:25
Read more here: http://bit.ly/2tRViJ9
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/.npm/_logs/2017-09-01T17_29_14_675Z-debug.log
Line 25 is either "class" in or in my local testing the first nonoccurence of "PublicKey.prototype.xxx ="
Reproducible Demo
none yet
Prototype and classes are pretty standard I'm not sure why this would fail..