Skip to content

Bug: updates to package.json for a node project do not result in corresponding package-lock.JSON uodates #16

@atkinssk

Description

@atkinssk

Describe the bug

When the tools working on an issue in a node project and it makes updates to the package.JSON file it does not run npm install to make the relevant updates to package lock file.
When the action pipeline subsequently runs after this update the npm ci task fails.
The tool then proceeds to try and make further code changes to resolve this without any success.

Expected Behavior

Package lock file should be updated and pipeline action that runs npm ci should at least pass that task step.

Current Behavior

Package lock file is not updated which results in “npm ci” command in pipelines failing and the tool is unable to resolve this.

Reproduction Steps

Suggest a change that results in a package json de dependency being added as part of the change.

Possible Solution

Run npm install to update package lock file

Additional Information/Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions