I'm having issues deploying my mdapi output directory to my packaging org. I'm using SFDX and second generation packages. I'm almost considering trying to create a 1GP from my source. Do the following steps not work with 2GP? I understand you cannot distribute to client with 2GP but you should be able to deploy the metadata to a packaging org.
I'm creating the output directory - mkdir mdapioutput
Converting to mdapi format from source format - sfdx force:source:convert -d mdapioutput/
Then attempting to deploy - sfdx force:mdapi:deploy -d mdapioutput/ -u golden-test -w 100
I'm getting 1409 component failures that so far seem to be exclusively apex components failures complaining that my objects and fields don't exist.
Is it not possible to deploy a 2GP's metadata?