5

Lately, using the Deploy feature from SFDX, components are taking a painfully long time to deploy to the org. This is happening even when deploying a single component.

Has anyone else run into this issue? Any steps to investigate, or remedy this issue? It's absolutely ridiculous that it takes this long to deploy just a few lines of code.

11:42:36.368 sfdx force:source:deploy --sourcepath /lwc/component/component.html --json --loglevel fatal

11:55:10.569 sfdx force:source:deploy --sourcepath /lwc/component/component.html --json --loglevel fatal ended with exit code 1

2
  • Is this in a high-traffic org? You can't deploy something while something else is being deployed. Make sure you're developing in your own org (sandbox or scratch org). I've never seen a deployment of a single file take more than a few seconds (perhaps 20 seconds or so). – sfdcfox Mar 23 '20 at 16:45
  • I don't think I've ever seen a 10 minute deployment, but I have seen deployments lag quite significantly for no apparent reason. Doe the issue replicate across orgs on different pods? If you create several orgs, you'll likely see them distribute across a couple of pods that you can check. – David Reed Mar 23 '20 at 17:24
1

Also getting this problem! It seems to be just LWC that's taking a long time to deploy other file types deploys in a few seconds!

0

I'm having this problem right now. It's brutal.

I'm working in a sandbox, deploying small changes to a lightning web component, and the deployments take 2-10 minutes.

Usually, if I put the project down and come back later in the day, the problem resolves itself - but not this time. I had the problem all day yesterday, and today is starting the same.

Maybe a sandbox refresh will help? Here's hoping...

0

I am also facing issues with sfdx force:source:push - pushing source to a scratch org takes extrem long this day.

I checked Trust Status if there are any incidents on dedicated orgs but this was not the case. Is there any other resource where issues around scratch orgs provisioning are tracked?

0

All I did was restarted VScode and deployed the folder using

sfdx force:source:deploy --sourcepath c:\Users\MyClassPath and boom!

It got deployed in 3 seconds.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.