Hello,
I've run into a error with no context inside the Module: Lightning Web Components - Work with Salesforce Data.
I'm working inside VSCode that the module recommends and get the an error of ===Deploy Errors ended SFDX Deploy Source to Org
Inside the Playground i'm using under Deployment status The failed status is because of Invalid API version 0.0
I've tried changing the API version in the code. I've recreated the entire file structure. I've Uninstalled the Salesforce Extension pack. I've searched to no avail a way to get it to deploy. Any help would be appreciated.
Hi
Update on my issue. I have a monorepo with the managed package, some AWS code, and documentation. In the root of the entire project directory, I have a lightweight sfdx-project.json file as this is required for the SFDX tools within VS Code to load. I have another sfdx-project.json in the package directory for package-specific properties such as versioning, namespace, etc.
Adding sourceApiVersion to the root sfdx-project.json file resolved my issue.
{
"sourceApiVersion": "55.0",
"packageDirectories": [
{
"path": "packages/package/force-app",
"default": true
},
{
"path": "packages/package/unpackaged",
"default": false
}
]
}