I've been working on trying to write an installation profile for Dtupal 8 for almost a week now. I've followed the docs on Drupal.org: https://www.drupal.org/docs/8/creating-distributions/how-to-write-a-drupal-8-installation-profile
I've done this installation at least 5 times. I hit a number of different errors each time.
If I stumble through the installation and fix all of the errors above, I still hit this error when the site tries to work through setting up all of my configs.
I have also downloaded "known" working profiles and they do not work as well.
Having said all of this, the docs on Drupal.org are obviously lacking and missing something. I've asked for help on several post on Drupal.org and I've gotten no help or useful information.
If anyone can point me in the right direction, that would be great. This used to be the way we'd distribute sites to clients with D7 and I've written some fairly large D7 profiles, but I don't understand what the issue is with D8.
With D7, you used to be able to plug in a profile to the /profiles directory, run through the install, and the site would be setup. This feature for D8 seems incomplete or missing some requirements and documentation. Several other developers have commented that they have no been able to get this to work without hacking files and fumbling their way through it.
If I can get a grasp on why this isn't working, and what is missing from the documentation, I'm committed to fixing that issue so that others can use this functionality of D8.