Skip to content

Bug: npm -> yarn resulted in very slow "Excluding dev deps..." #5568

@simlu

Description

@simlu

This is a Bug Report

We used to use npm to install our dependencies. Now we use yarn. When deploying with modules installed through npm, it takes sub 1 minute for the "Excluding development dependencies..." step. When doing the install with yarn we see 10+ minutes for the step.

What exactly happens in this step and how can we improve the times here?

Description

  • What went wrong?
    Deploy takes to long. In particular the step "Excluding development dependencies...".

  • What did you expect should have happened?
    The deploy should not make circle ci time out...

  • What was the config you used?
    Not relevant. But it's massive.

  • What stacktrace or error message from your provider did you see?
    No error. Just timeout.

Additional Data

Note: We can not use excludeDevDependencies: false since our dev dependencies are massive and lambda has a size limit.

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