Skip to content

npm install has slowed down significantly #670

Description

@Daimywil

Describe the bug
Running npm install has significantly slowed down from what it used to be before the pnpm switch. The cause seems to be the running of a pre-install script on every package. The old performance can be gained back by using the --ignore-scripts flag.

Steps to reproduce the behavior:

  1. Have a package.json file with a decent amount of nevermore dependencies
  2. Run npm install --verbose
  3. Now run npm install --ignore-scripts --verbose

Expected behavior
The normal install without the --ignore-scripts flag should be equally fast when using npm.

Screenshots
Image

Environment:

  • OS: Windows

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions