Vscode failed to backup files runcommand as user? error

i installed vscode from flatpak and wanted to install an extension and it gave error. i installed flatseal and gave permissions.
image
and after pressing yes, it says unable to find pkexec or kdesudo. i use void linux

Something is wrong here. The extension is trying to copy a file to a non-writeable location. It could be a bug in the extension.

You probably need to report it to the extension author. It should not try to paste things into the install prefix.