Skip to content

rainitesh/error-create-react-app

Repository files navigation

Is this a bug report?

Yes

Can you reproduce the problem with npm 4.x?

Yes

Have you read the Troubleshooting section and searched the User Guide?

ELIFECYCLE, react-scripts build

Environment

  1. node -v: v6.5.0
  2. npm -v: v5.5.1
  3. yarn --version (if you use Yarn): NA
  4. npm ls react-scripts (if you haven’t ejected): [email protected]

Then, specify:

  1. Operating system: Windows 7
  2. Browser and version (if relevant): NA

Steps to Reproduce

  1. create a fresh app using create-react-app and $ npm install --save node-thermal-printer
  2. $ npm run build

Expected Behavior

Successful Build.

Actual Behavior

Failed to compile with error code ELIFECYCLE, errno 1

Terminal alt text

Log File [https://github.com/rainitesh/error-create-react-app/blob/master/2018-01-17T23_05_13_308Z-debug.log] (https://github.com/rainitesh/error-create-react-app/blob/master/2018-01-17T23_05_13_308Z-debug.log)

Reproducible Demo

https://github.com/rainitesh/error-create-react-app checkout the latest commit and npm install and perform npm run build

I'm building a login/logout platform which intercats with Django backend using Oauth. I am using this example as my base http://jasonwatmore.com/post/2017/09/16/react-redux-user-registration-and-login-tutorial-example However, I'm not using the example's webpack. I am just using the create-react-app's default build configs right now.

npm start works fine but npm run build fails with error code ELIFECYCLE, errno 1. Despite the failure, it does create a build folder with the static files. I uploaded the files to S3 bucket and tried hosting them. Everything seems ok and it's running fine. Not sure if any sepcific package is causing this build failure.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published