VS Code cannot read property 'tostring' of undefined

vscode has the following prompt error while saving, which occasionally fails to save.

Mar.20,2021
Menu