-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Description
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
-
Related Issues:
excludeDevDependencies: true adds >8 minutes to deploy? #4426
serverless package is very slow #4263
forum#3685 -
Serverless Framework Version you're using:
1.34.1 -
Operating System:
linux, in particular same as what aws lambda runs on (yes, that's where we deploy from)
Note: We can not use excludeDevDependencies: false since our dev dependencies are massive and lambda has a size limit.