This deploys fine with VS Code. In Welkin, I get this error:
Deploy has finished with errors [10:48:52.748].
Source. Invalid reference Contact_Community_Role__c.Community_Role__c of type sobjectField in file paContainer.js: Source
Update error: Source
Here is the code:
import PROPERTYROLE_FIELD from '@salesforce/schema/Contact_Community_Role__c.Community_Role__c';
The custom object and field are visible to all profiles.