How to Fix LightningTypeBundle Installation Errors in Salesforce 2GP Packages
When developing and deploying Salesforce Second-Generation Managed Packages (2GP), you might encounter an installation error related to LightningTypeBundle. This issue often arises when Apex wrapper classes are referenced incorrectly inside Schema.js or renderer.json files. Installation Error Message Common Error Message This package can’t be installed. LightningTypeBundle(SomeCustomOutputCLT)fileName: renderer.jsonfilePath: lightningDesktopGenAi/renderer.jsonmessages: [ Something’s not right with the definition… Read More »