function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jon Simmonds 11Jon Simmonds 11 

Permission required to deploy LWC's?

Is there a specific permission required to deploy Lightning Web Components to a sandbox using sfdx deploy from VS Code?
We have created a custom profile that a developer is using, they have connected to a sandbox and are trying to deploy Lightning Web Components to that sandbox using the sfdx force:source:deploy command.
We get the following error:
Error when deploying a LWC
VinayVinay (Salesforce Developers) 
Hi Jon, 

If you are using the 'System Admin' profile to deploy you should be able to deploy.

Chcek below references.

Nitish Yadav 45Nitish Yadav 45
Give "Customize Application" permission on your profile and then deploy. I think that will resolve the issue