microsoft / vscode-extension-samples

Sample code illustrating the VS Code extension API.
MIT License
8.81k stars 3.44k forks source link

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

Open codeitlikemiley opened 3 weeks ago

codeitlikemiley commented 3 weeks ago

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:

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

but got error see below screenshot

Image

dbaeumer commented 3 weeks ago

Did you run npm run esbuild as mentioned in the readme?

codeitlikemiley commented 3 weeks ago

yes

Uriah Galang

On Wed, Oct 30, 2024 at 16:44 Dirk Bäumer @.***> wrote:

Did you run npm run esbuild as mentioned in the readme?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-extension-samples/issues/1120#issuecomment-2446201600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG33KMUZS3WJSLTIPHNMV3LZ6CL5XAVCNFSM6AAAAABQZWVQ7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBWGIYDCNRQGA . You are receiving this because you authored the thread.Message ID: @.***>