whisper-node
whisper-node copied to clipboard
Problem: whisper.cpp not initialized in nextjs project
Problem
When using this library in a Nextjs project v14, and executing it in a server component I'm receiving this error
I already follow the README.md
and executed the command: bunx whisper-node download
Error
cd: no such file or directory: project/.next/server/lib/whisper.cpp
[whisper-node] Problem. whisper.cpp not initialized. Current shelljs directory: project/.next/server/vendor-chunks
[whisper-node] Attempting to run 'make' command in /whisper directory...
[whisper-node] Problem. 'make' command failed. Please run 'make' command in /whisper directory. Current shelljs directory: project/.next/server/vendor-chunks
Any thoughts about this? Does this library support running with nextjs?
Thanks!
Versions
- Pop!_OS 22.04 LTS
- Bun version
1.0.29
- Next.js version
14.1.0