As I was following the VS code plugin/extension tutorial here Your First Extension | Visual Studio Code Extension API, I got the following error.
> yo code
? What type of extension do you want to create? New Extension (TypeScript)
? What's the name of your extension? HelloWorld
? What's the identifier of your extension? helloworld
? What's the description of your extension?
? Initialize a git repository? Yes
? Bundle the source code with webpack? No
? Which package manager to use? npm
Writing in C:\pg\vscode\helloworld...
Error code
Trying to copy from a source that does not exist: C:\Program Files (x86)\Nodist\bin\node_modules\generator-code\generators\app\templates\ext-command-ts/vscode
Simply the command I ran is, as the tutorial,
npm install -g yo generator-code
yo code
I'm on Windows 10 elevated Powershell. What's wrong with the error and how to fix?