I'm developing an app that I hope will be distributed as a Managed Package. I'm developing using SFDX, a dev edition org with a namespace and a partner edition org with dev hub on.
The Managed Package needs to have a community in it.
As I've been developing the app, when I push the code to a new scratch org I've been having to first actually create a community with the same name before I push my code or I get the errors:
Default_Navigation: In field: Network - no Network named Members found, cbMembers: Network not found for the CustomBrand : cbMembers, Members: In field: Name - no Network named Members found, Members1: No Network named Members found, needed to associate this Site Members1, which is 0DM3F000000DeVw
I have found no workaround, anytime I see someone with a similar issue, the resolution is to first create a community in that org.
Now that I'm trying to create my the first version of my managed pacakge, this error is preventing me from being able to create a version using: force:package:version:create
Is it actually possible to include a community in a managed package?