Error: pxt_modules/ColorBlock/main.ts(1,1): error TS9200: non unique

In my games, I sometimes use the ColorBlock extension, and it appears to be killing all the hardware builds for releases.

Take my latest game, Racers:

The bundle all step is failing since it can’t find built/arcade.uf2, so I look up to the previous steps to see, and for build D51, build F4, and build P0, it ends with:

Error: pxt_modules/ColorBlock/main.ts(1,1): error TS9200: non unique

Funny enough, build js doesn’t fail, but it can’t deploy since the other builds failed.

I’m unsure why this doesn’t work for hardware builds, as there isn’t even anything in ColorBlock/main.ts anyways.

Does anyone have any idea why it won’t work?

1 Like