Error text encoding problem.
see the screenshot,
not error itself, but the text.

Strange. Does it always happen or only on certain repos? Also, what OS are you using?
This may happen I doesn't install the dprint cli when I install the extension. OS: window 10
@heroboy cool. Thanks! I opened #3.
I guess you doesn't consider the stdout's encoding.
If the dprint is not installed, the output will be
'dprint' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
on my machine.
https://github.com/dprint/dprint-vscode/blob/ddf2e727c23ff1179ae046730a84c0f00ec9c661/src/dprint-shell.ts#L37-L64
Thanks for the info! That was helpful.
As per discussion in commit, reopening.