New answers tagged

0 votes

Unable to build Lightning Component source for markup://c:HelloWorldLightningWebComponent: Invalid suffix: json

try creating a new folder and create a new project in the new folder This solved the problem for me
user avatar
0 votes

ERROR running force:org:create: The requested resource does not exist

The reason I was getting this error is because I forgot to assign the correct scratch org permissions to my user. Object Settings > Scratch Org Infos > Read, Create, Edit, and Delete Object ...
user avatar
0 votes

Is there a way to deactivate a Flexipage from the command line?

Remove all dependencies if you have assigned like record type assignment or app assignment and then try to delete the page
user avatar
  • 1
0 votes

SFDX Permission set assign command failing in latest version 7.84

This simply means that in the directory the permsets are missing, you might have to reload the source of the folder to populate the permsets directory under force-app/main/default
user avatar
2 votes
Accepted

Can't open Scratch org via sfdx:org:open or URL

Right now (20 June 2022), I'm getting the same error. I don't think it's the same problem as you were getting Robert, but if people are googling for the same error message, then this is a solution ...
user avatar
  • 12.8k
0 votes

Salesforce CLI tools do not work together with Git Bash on Windows

Looking at the content of the various sfdx.cmd files, I found that using $LOCALAPPDATA/sfdx/client/bin/sfdx.cmd force:... works in git bash under windows, because it bypasses the folder variables with ...
user avatar
1 vote
Accepted

Is it possible to retrieve Job ID generated by sfdx:force:mdapi:deploy -c flag so as to use that Job ID in next step using -q flag to actual deploy

Specify the --json so that you can obtain the deployment Id as needed by the other command. Something like below rc = command "${toolbelt}/sfdx force:mdapi:deploy -f unpackaged.zip -u ${USERNAME} ...
user avatar
2 votes
Accepted

sfdx update failing at "Updating plugins" with ESOCKETTIMEDOUT

This answer assumes you're using Windows (7, 8, 10, 11, shouldn't matter) The closest thing I was able to find was a github issue on installing the LWC Server which suggested that simply increasing a ...
user avatar
  • 48.2k

Top 50 recent answers are included