Line a large baking sheet or cutting board with parchment paper.
In a large saucepan, combine the erythritol, water, and vanilla over medium-low heat.
Stir every 30 seconds and bring to a light simmer. If using granulated erythritol, continue simmering until the granules dissolve completely.
Reduce the heat to low.
Whisk in the cocoa powder, cinnamon, and salt until smooth and fully combined.
Add the coconut flakes to the saucepan.
Stir frequently to coat, cooking for 6 to 7 minutes until the mixture at the bottom of the pan becomes sticky.
Keep the heat low to avoid burning.
Immediately spread the granola mixture in a single layer onto the prepared parchment paper.
Let it cool completely for about 20 minutes to become crisp before enjoying.