Apologies for the long title, but essentially I have an unlocked package (unlockedPackageB) that is dependencies to another unlocked package (unlockedPackageA).
unlockPackageA has classes that refer to a managed package, which is defined in its package folder (via force-app/main/default/InstalledPackages
).
I have defined unlockPackageB's dependancies with unlockPackageA in its sfdx-project.json
file. But, when I'm attempting to create a new unlockPackageB version (sfdx force:package:version:create
), I'm seeing errors during Verifying dependencies
in which is unable to compile unlockPackageA's classes due to components from the manage package not existing. This is not an issue when creating package versions against unlockPackageA.
Wondering if anyone has any advice on how to deal with these issues. Thanks!