Questions tagged [salesforce-cli]
22 questions
7
votes
1 answer
Salesforce CLI not working with Visual Studio Code on MAC
I am not sure where the issue is. I am trying to get the Salesforce CLI and VS Code development flow set up so I can start working, but I am running into basic issues that don't seem to be experienced in the Salesforce provided training and videos.…

jehicks2
- 341
- 1
- 5
- 17
2
votes
2 answers
VSCode / Salesforce - Deploy Source to Org very slow to complete, although actual deployment is fast?
I don't know when this started working, but my deployments are horifically slow now and I'm not sure why...
I change a single apex class, right-click the file and pick SFDX:Deploy Source to Org, and it's taking well over 5 minutes for the…

James
- 999
- 2
- 11
- 22
2
votes
2 answers
SFDX & Github Action - Warning: force:auth:sfdxurl:store is not a sfdx command
I have the following yaml file. It were working just fine until yesterday. Unfortunately starting from today received the below warning and followed by the following error.
Hope someone will be able to point me to solution to fixed this issue. Below…

mokh223
- 544
- 3
- 5
- 14
1
vote
1 answer
Jenkins - "Custom Tool" plugin URL
I am using Custom Tool plugin in Jenkins to run Salesforce CLI to execute my JenkinsFile.
https://developer.salesforce.com/tools/salesforcecli
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm…

some guy
- 27
- 9
1
vote
0 answers
'C:\Program' is not recognized as an internal or external command in 'Git Bash Here' terminal - Windows (salesforce sfdx) - SOLVE
I'm here to ask you a very strange problem.
Right now i'm starting to work on Salesforce technology, in windows, and currently i follow the tutorial. When finally arrive to the terminal part, Windows come out to create problem...
I state that I am…

Emanuele Alfano
- 29
- 6
1
vote
1 answer
Determine Minimum Tests To Be Run For Salesforce Deploy
I have set up a GitHub action that validates code changes upon a pull request. I am using the Salesforce CLI to validate (on PR) or deploy (on main merge).
The documentation gives me several options to determine testing for this deploy.These options…

Xaphy
- 15
- 1
- 4
1
vote
1 answer
Local Development Server for Lightning Web Components
I'm trying to set a Local Development Server for Lightning Web Components according to this link but when I try to install the plugin @salesforce/lwc-dev-server I get this error message :
Code: ShellParseError
and a .js file named npm-cli.js opens…

Iago Richard
- 47
- 4
1
vote
0 answers
Salesforce CLI destructive changes (sfdx sgd:source:delta) not showing difference in branches using GItHub Actions
I am using the Salesforce destructive changes mentioned here. However, sfdx sgd:source:delta --to "HEAD" --from "HEAD^" --output . --generate-delta command is not showing any destructive changes, it generates a destructiveChanges.xml without any…

ab1011337
- 11
- 2
1
vote
2 answers
Can't Authorize Dev Hub or Org in SF/VS Code Env. Setup for SF
I'm trying to Authorize Dev Hub in SF, It opens up a browser window to login and once I put my Credentials and click login, The Page Simply Keeps Loading, Never Finishes loading.
I have everything in place, SFDX is installed, VS Code Extensions for…

IVAN PAUL
- 157
- 1
- 3
- 15
1
vote
3 answers
It is possible to install Salesforce cli through command line?
I am in the process of build automation for Salesforce, as a requirement I need to install "Salesforce CLI" and execute few commands.
I went through the chocolaty commands, but it doesn't seems to be working, is there any other way around to fix…

Abhishek Anvekar
- 338
- 1
- 5
- 18
1
vote
3 answers
SHA mismatch error when sfdx update command is executed
Salesforce CLI is recently installed in my system and it is showing the following information on every command.
! sfdx-cli: update available from 6.55.1-be0b3dc4c4 to 7.22.0-de5c6ecff8
I am not able to create project for the same. I have also…

Tapas Mukherjee
- 2,088
- 1
- 27
- 66
0
votes
0 answers
Packaging 2gp org
I am currently encountered an issue while attempting to create a patch version in their 2GP package. While I have not been able to reproduce the issue myself as we need partner org to create patches, I am hoping that you may be able to provide some…

Naincy Agrawal
- 1
- 1
0
votes
1 answer
How to setup remote site origin programatically in salesforce during the app installation
I'm developing the salesforce app using salesforce LWC components, I have requirement where I should process the salesforce data from an external system, for this I'm sending the data to the external api, say 'https://myapi.com/contact', but when I…

R_M_R
- 31
- 6
0
votes
0 answers
Custom Lookup iteration in Multiple rows
I have created a custom lookup for Name and Related fields for Task and Event objects. And added Multiple rows to enter the records to save but the custom Lookup component is not Iterating while deleting the records in a row.
Is custom Lookup…
0
votes
0 answers
Unable to retrieve and deploy package salesforce visual code studio
I am facing this issue: "Error deploying or retrieving source: The file or directory that you tried to deploy or retrieve isn't in a package directory that's specified in your sfdx-project.json file"
There is another post with this similar error but…

GraNeMM
- 83
- 1
- 5