Skip to content

[BUG] lchown error when accessing installation lock file when running multiple installations in parallel. #496

@SimonSchick

Description

@SimonSchick

What / Why

NPM fails to due to create(?) locks (not package-lock.json) during installation.

When

  • Appears to happen when performing multiple parallel installs.

Where

How

Current Behavior

  • Will occassionally fail to lchown npm lock files (not package-lokc.json).

Steps to Reproduce

  • See where section.
  • It is possible to repro this by performing the following steps:
    • Clone my fork of DT and checkout my branch related to this PR
    • Initialise via npm install
    • Run npm test node

Expected Behavior

  • Locking does not failed.

Who

  • Unsure

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions