Questions tagged [sfdx-error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
35 views

Experiences deployment fails with “Component names can only contain alphanumeric characters, hyphens, colons, and underscores.”

trying to migrate a community from one sandbox to another. Using SFDX and VSC. I do have ExperienceBundle enabled in both. When I run this command: sfdx force:source:deploy -p force-app\main\default\...
3
votes
1answer
76 views

SFDX Error in macOs Big Sur

Getting this below error with macOs Big Sur. Any help. sfdx --version /usr/local/bin/sfdx: line 44: /usr/local/lib/sfdx/bin/node: Bad CPU type in executable
0
votes
1answer
30 views

sfdx execute command not executing the apxc file ..“File not found at the specified path:” error

i am trying to execute filename.apxc file using sfdx. sfdx force:apex:execute -u dev -f filename.apxc it throwing the error File not found at the specified path:
0
votes
0answers
23 views

The “path” argument must be of type string. Received an instance of Object

Got this error while running the following command in jenkinsfile. npm run test:unit:coverage, It runs fine locally on my project. + npm run test:unit:coverage > salesforce-app@1.0.0 test:unit:...
0
votes
0answers
45 views

How to fix Authorize an org failed to run?

I am getting the following error :- 18:09:25.152 sfdx force:auth:web:login --setalias vscodeOrg --instanceurl >https://login.salesforce.com --setdefaultusername 18:09:25.154 sfdx force:auth:web:...
0
votes
1answer
37 views

How to grant access permission for package in pipeline deployment?

I'm trying to install package through pipelines for Scratch org push & test. I'm using this command in our yml file - sfdx force:package:install --package 04t1Q000000kYu4 -w 10 -u ciorg Here is ...
0
votes
1answer
109 views

sfdx update fails, Error: EPERM: operation not permitted

Went to create a new scratch org, and got a warning: Warning: sfdx-cli update available from 7.102.0 to 7.104.0. The scratch org created without issue, but I figured I may as well update to latest ...
1
vote
1answer
50 views

Unlocked extension package version error “Invalid field name” for report metadata

Scenario: I'm creating an unlocked package that is dependent on 3 other packages: Package A - Managed base package (1st gen managed) Package B - Managed extension package (extension of base, 1st gen ...
0
votes
2answers
355 views

SFDX issue: authorized dev sandbox, yet get 'expired access/refresh token' when attempting deploy or retrieve

I recently refreshed my developer sandbox. In VS Code, I ran sfdx force:auth:web:login --setalias aliasName --instanceurl https://test.salesforce.com --setdefaultusername It opened the OAuth window ...
0
votes
0answers
23 views

ERROR running force:package:version:create: typesArr.filter is not a function

Not sure why this has started happening. I was creating a new unlocked package for a client and started see this error ERROR running force:package:version:create: typesArr.filter is not a function ...
0
votes
0answers
313 views

VSCode deploy source to org failed to run

Starting today VSCode is giving me an error "SFDX: Deploy Source to Org failed to run". This only happens with 1 org. with every other org I do not have any issues. I don't get any error ...
1
vote
1answer
50 views

metadata retrieve operation failed: INVALID_CROSS_REFERENCE_KEY

On executing: sfdx force:mdapi:retrieve -r ./mdapipkg -p ./ProjectComponents.xml I got the error message: metadata retrieve operation failed: INVALID_CROSS_REFERENCE_KEY: No package named The file ...
0
votes
0answers
35 views

Deploy QuickAction using a Flow: impossible?

I have an error while deploying a simple QuickAction using a Flow Definition (generated from a force:source:pull) The flow definition is in the same package so available, but i have an error telling ...
0
votes
0answers
80 views

View LWC Locally / Install LWC dev Mobile Plugin Error

Aim: To preview LWC component locally. Problem : NOT able to install sfdx plugins:install @salesforce/lwc-dev-mobile NPM Version: 7.7.6, NODE Version: v15.13.0, SFDX Version: sfdx-cli/7.92.0-...
1
vote
0answers
341 views

SFDX Error While pushing the code to Salesforce Org “Error: connect ETIMEDOUT”

I am getting the below error while either pushing or retrieving the code from Salesforce to VS code and vice versa. I have no proxy nothing in my system. I have also tested on 4 Machines and 3 ...