We are trying to deploy our package, but a weird error is thrown:
The thing is, in that LWC, we are in fact NOT adding the namespace when importing those fields:
import PRODUCTO_FIELD from '@salesforce/schema/Producto_Orden_Compra__c.Producto__c';
import PROVEEDOR_FIELD from '@salesforce/schema/Orden_de_Compra__c.Cuenta__c';
If I try to add the namespace before the sObject and fields, the same error is thrown and I can't even deploy the changes to the org.
What am I supposed to do? Add the "c" namespace? But it would be wrong as these objects and fields are part of the ERPvs__ namespace. Is it a salesforce bug or am I missing something? This LWC was deployed as part of the package before without problems. Any help would be appreciated.
EDIT: tried adding the "c" namespace, but it didn't work. "invalid reference" is the error and I can't even deploy to the org. (tried with "c__" and "c.")