I got exactly the same error and tried to debug it, but building a full pxt/codal build-chain seams incredible hard. The Adafruit-Vargrant-Box is broken:
For this error, I’ve added a bug at “pxt-maker”:
As well as an entry at the adafruit forums, but I have no idea if any solid support for “CPb” for a MakeCode implementation is planned from their side:
And on the Discord-Channel I didn’t get a response (yet) either:
So, if anyone has an idea:
a) How to debug this thing?
b) How to find support for this topic?
You would be more than welcome.