Skip to content

npm run build failed with error code ELIFECYCLE #5705

@DanielHosseini

Description

@DanielHosseini

Is this a bug report?

Yes

Did you try recovering your dependencies?

Yes.
Removed node_modules, package-lock.json.
Then npm install - npm@latest and npm install

Environment

node -v: v8.11.4
npm -v: 5.6.0

Windows 7

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

react-scripts build, exit status code 1, ELIFECYCLE

Steps to Reproduce

(Write your steps here:)

  1. Cd to the project folder
  2. run the following command: npm run build

Expected Behavior

Successful Build.

Actual Behavior

Failed to compile with error code ELIFECYCLE, Exit Status 1
Log File
https://gist.github.com/DanielHosseini/7dfdfee27f2cf2defc88589b39a770cc

package.json
https://gist.github.com/DanielHosseini/0fef657b93500de51555aa8d7d60fb29

stackoverflow post
https://stackoverflow.com/questions/53120536/unable-to-build-react-app-using-npm-run-build-exit-status-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions