pants icon indicating copy to clipboard operation
pants copied to clipboard

Integrity files collide when generating node modules

Open tobni opened this issue 1 year ago • 1 comments

Describe the bug Newer versions of package managers generate integrity files (e.g .package-lock.json, notice the leading .). The current strategy of merging node_modules installations across workspaces will collide in these integrity files, because the digests were generated from subsets, and but the integrity file is in the same location on disk.

Pants version Which version of Pants are you using?

OS Are you encountering the bug on MacOS, Linux, or both?

Additional info

tobni avatar Jun 03 '23 17:06 tobni

Note - these are called "hidden lockfiles" in npm - https://docs.npmjs.com/cli/v9/configuring-npm/package-lock-json#hidden-lockfiles

riisi avatar Apr 28 '24 02:04 riisi