command 'vscode-samples.wasm-component-model.run' not found

Author: codeitlikemileyCreated Oct 29, 2024Updated May 20, 2026
Labelsbug

Extension sample

wasm-component-model

VS Code version

1.94.2 384ff7382de624fb94dbaf6da11977bba1ecd427 arm64

What went wrong?

To reproduce this issue just clone the repo

npm install on vscode-extension-samples/wasm-component-model

then

npm run build

then npm run serve

visit vscode.dev

install extension extension from location

type: https://localhost:5000

press CMD + SHIFT + P

type Samples: Run Calc Service

it should have output:

bash
Running calculator example
Add 3
Sub 2
Mul 21
Div 5
Division by zero not allowed

but got error see below screenshot

Image

Source: microsoft/vscode-extension-samples