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

Running the tool reorders dependencies within my package-lock.json #68

Open
jayqui opened this issue Aug 8, 2022 · 4 comments
Open

Comments

@jayqui
Copy link

jayqui commented Aug 8, 2022

Hi there, I followed the instructions on your README and it seems to have worked well. One weird behavior I am seeing is that the lists of dependencies and devDependencies in my package-lock.json gets scrambled into a seemingly random order.

Is this expected behavior?

@R3DST0RM
Copy link

This shouldn't be expected behavior, there are possible errors that can occur as a result of that.

One issue, that I stumbled upon was: #57 (comment)

@joshuaeilers
Copy link

Noticing the same issue. Without the npm-force-resolutions our npm install does not change package-lock.json.

@massimocode
Copy link

This is affecting us too. Took around 1 hour to find this issue. Turned off npm-force-resolutions and now we're ok, but I presume it's a high priority one to fix this.

@R3DST0RM
Copy link

This is affecting us too. Took around 1 hour to find this issue. Turned off npm-force-resolutions and now we're ok, but I presume it's a high priority one to fix this.

There is an open PR to fix it (#58) , for the time being an alternative package called force-resolutions did the trick for me.

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

No branches or pull requests

4 participants