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

npm run build fails due to Superstruct #28

Closed
dan1elhughes opened this issue Jan 31, 2018 · 0 comments · Fixed by #66
Closed

npm run build fails due to Superstruct #28

dan1elhughes opened this issue Jan 31, 2018 · 0 comments · Fixed by #66

Comments

@dan1elhughes
Copy link

Expected behaviour

Create-react-app handles the compilation of the app.

Actual behaviour

Caused by ianstormtaylor/superstruct#86.

> npm run build

> <redacted>@0.1.0 build X:\github\<redacted>
> react-scripts build

Creating an optimized production build...
Failed to compile.

Failed to minify the code from this file:

        ./node_modules/superstruct/lib/index.es.js:7

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!     C:\Users\<redacted>

Steps to reproduce behaviour

  • npm run build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment