You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I wanted to use whisper-node and have this very simple code:
const transcript = await whisper('./output.wav', options);
console.log(transcript); // output: [ {start,end,speech} ]
The output.wav file exists and the recording in there is my voice record as it should be.
When whisper('./output.wav', options); is called i get the following:
[2026-02-15T09:58:32.920Z] [INFO] [main] Starting transcription {"filePath":"./output.wav","options":{"modelName":"base.en","whisperOptions":{"language":"auto","gen_file_txt":false,"gen_file_subtitle":false,"gen_file_vtt":false,"word_timestamps":false,"no_timestamps":false},"shellOptions":{"silent":true,"async":false}}} [2026-02-15T09:58:33.024Z] [INFO] [whisper] Creating whisper command {"filePath":"output.wav","modelName":"base.en","modelPath":null,"options":{"language":"auto","gen_file_txt":false,"gen_file_subtitle":false,"gen_file_vtt":false,"word_timestamps":false,"no_timestamps":false}} [2026-02-15T09:58:33.024Z] [INFO] [shell] Executing whisper shell command {"command":"./main -l auto -m \"/Users/erharddinhobl/pomp/node_modules/@lumen-labs-dev/whisper-node/lib/whisper.cpp/models/ggml-base.en.bin\" -f \"/Users/erharddinhobl/pomp/output.wav\"","options":{"silent":true,"async":false}} [2026-02-15T09:58:33.028Z] [INFO] [shell] Building whisper.cpp binary (non-Windows) [whisper-node] Building whisper.cpp (non-Windows)... [2026-02-15T09:58:33.079Z] [ERROR] [shell] Build failed {"exitCode":2,"stderr":"make: *** No targets specified and no makefile found. Stop.\n"} [2026-02-15T09:58:33.079Z] [ERROR] [main] Whisper-node error occurred {"error":"Failed to execute whisper transcription: [whisper-node] Build failed. Install build tools (make/gcc/clang)."} /Users/erharddinhobl/pomp/node_modules/@lumen-labs-dev/whisper-node/dist/utils/errors.js:9For the setup:
I am using mac
node --version
v24.3.0
and whisper wrapper in node:
"@lumen-labs-dev/whisper-node": "^0.4.1"
Beta Was this translation helpful? Give feedback.
All reactions