'command 'flow.restartClient' not found in vscode

I'm trying to use flow-for-vscode, but it looks like not working, in fact when I try to use it I get:

command 'flow.restartClient' not found

Notice that ./node_modules/.bin/flow works correctly from my project folder.

I also tried to set ${workspaceFolder}/node_modules/.bin/flow as Path to Flow, but it doesn't work.

Also, disabling Use LSP gives the same result.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source