Yes
Yes
ELIFECYCLE, react-scripts build
node -v
: v6.5.0npm -v
: v5.5.1yarn --version
(if you use Yarn): NAnpm ls react-scripts
(if you haven’t ejected): [email protected]
Then, specify:
- Operating system: Windows 7
- Browser and version (if relevant): NA
- create a fresh app using create-react-app and
$ npm install --save node-thermal-printer
$ npm run build
Successful Build.
Failed to compile with error code ELIFECYCLE, errno 1
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)
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.