当我尝试针对目标 salesforce 组织验证 salesforce 部署时,我收到以下错误消息。
{
"status": 1,
"name": "NoOrgFound",
"message": "No org configuration found for name '00D18000000954Y!AQcAQEu9XXfRJP2hXd0lJX4Dp2CohWjDzXuvqrcNF'",
"exitCode": 1,
"commandName": "MdapiDeployCommand",
"stack": "NoOrgFound: No org configuration found for name '00D18000000954Y!AQcAQEu9XXfRJP2hXd0lJX4Dp2CohWjDzXuvqrcNF'\n at Function.create (C:\\Users\\user\\AppData\\Local\\sfdx\\node_modules\\@salesforce\\core\\lib\\sfdxError.js:141:16)\n at AuthInfo.initAuthOptions (C:\\Users\\user\\AppData\\Local\\sfdx\\node_modules\\@salesforce\\core\\lib\\authInfo.js:509:53)",
"warnings": [
"The error message \"NoOrgFound\" has been deprecated and will be removed in v46 or later. It will become \"NamedOrgNotFound\"."
]
}
我已使用此命令进行验证
sfdx force:mdapi:deploy -c -d D:/GitCom/tmp/482c0eb0-272b-4fd2-ac27-65e706175218/main-deploy/force-app/main/default -u '00D18000000954Y!AQcAQEu9XXfRJP2hXd0lJX4Dp2CohWjDzXuvqrcNF' -w 5 --json
我正在使用 Windows OS 10 和 SFDX 版本
sfdx --version
sfdx-cli/7.28.7-7bceba6f24 win32-x64 node-v10.15.3
我能够从连接的组织中检索数据,只有部署验证给出问题。