You need to sign in to do that
Don't have an account?
Ayyaz Zafar 6
Package upload does not work for managed package but works for unmanaged package
I am using Developer edition to upload my package.
It works perfectly fine if I upload umanaged pacakge.
But when I enable manged packaging and try to upload then I get following error:
Package upload error
There are problems that prevent this package from being uploaded.
We couldn't validate your component. Review it and try again.
I have been struggling a lot for a very long time but still could not find any clue.
Any help would be very appreciated.
Thanks in advance
Review below link which has details on above error.
https://salesforce.stackexchange.com/questions/253469/unable-to-upload-a-managed-package-with-a-generic-error/253473
Thanks,
Hi Vinay!
Thank you for quick response.
I read that stackoverflow question and answer. It's interesting. But in my case, I am using just property instead of function with @api
Please let me know if there is anything else I can do.
Thanks
Alright. I fixed my issue by removing following code:
<targetConfigs>
<targetConfig targets="lightning__RecordPage">
<property name="recordId" type="String" />
</targetConfig>
</targetConfigs>
from ....js-meta.xml file and then it started to work fine.