Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort packages in package-lock.json after applying updates #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

R3DST0RM
Copy link

@R3DST0RM R3DST0RM commented Mar 21, 2022

When there is a special constellation npm stops working with the package-lock.json produced by npm-force-resolutions (for example ERR_REQUIRE_ESM). In order to work around this issue and be compliant with the generated package-lock.json, the packages node inside the JSON shall be sorted.

This fixes issue #57

@jessewlee
Copy link

@rogeriochaves hi, are there any plans to merge this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants