Today when running the simple regression as below, the code works well

reghdfe y x1 x2 , a(TYPE2 yr)
However, when I run the below code with bacondecomp command (https://ideas.repec.org/c/boc/bocode...2ah0nsRMWyhik0)

Code:
bacondecomp y x1 x2, a(TYPE2 yr)
The code generates the error below

Panel must be strongly balanced, i.e. each panel must have the same set of time points
with no control variables, must specify the detail option currently (only works without weights)
invalid syntax
r(198);
I am wondering what is the problem here and how to sort it out, thanks in advance