Skip to content

[rush] rush update fails with npm install ERROR: Error: Process exited with code 1 #5255

Closed
@ugreg

Description

@ugreg

Running rush update fails with npm install ERROR: Error: Process exited with code 1 message.

Summary

Found configuration in C:\_\repo\rush.json

Rush version 5.155.0 is not currently installed. Installing...

Trying to acquire lock for rush-5.155.0

Deleting old files from C:\Users\greg\.rush\node-v20.14.0\rush-5.155.0

Transforming C:\_\repo\common\config\rush\.npmrc

  --> "C:\Users\greg\.rush\node-v20.14.0\rush-5.155.0\.npmrc"

Running "npm install" in C:\Users\greg\.rush\node-v20.14.0\rush-5.155.0

The command failed:

 npm install

ERROR: Error: Process exited with code 1

Trying again (attempt 2)...

The command failed:

 npm install

ERROR: Error: Process exited with code 1

Trying again (attempt 3)...

The command failed:

 npm install

ERROR: Error: Process exited with code 1

Giving up after 3 attempts

Repro steps

Run rush update

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? <=5.155.0
rushVersion from rush.json? 5.155.0
useWorkspaces from rush.json?
Operating system? Windows
Would you consider contributing a PR? NYes
Node.js version (node -v)? v20.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions