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
I followed the instructions to install, by the time I ran it I realized that my .env file wasn't being found so I thought it was a bug from my codebase so I debugged a little, then I resorted to git reset HEAD --hard. So I discovered that once I imported whisperer the whole project root was getting set elsewhere, breaking my whole program. That's when I reinstalled the npm dependency and realized the following message appeared:
[whisper-node-ts] Problem. whisper.cpp not initialized. Current shelljs directory: /home/wolf/develop/nodejs/okuuai/node_modules/whisper-node-ts/dist
[whisper-node-ts] Attempting to run 'make' command in /whisper directory...
[whisper-node-ts] 'make' command successful. Current shelljs directory: /home/wolf/develop/nodejs/okuuai/node_modules/whisper-node-ts/dist
My program ran into the same issue but this time I noticed that shelljs dir is being set to the dist dir of whisperer package. So I double checked by doing a process.cwd() and path.resolve(__dirname) and realized the following:
🪲 Bug
I followed the instructions to install, by the time I ran it I realized that my .env file wasn't being found so I thought it was a bug from my codebase so I debugged a little, then I resorted to
git reset HEAD --hard
. So I discovered that once I importedwhisperer
the whole project root was getting set elsewhere, breaking my whole program. That's when I reinstalled the npm dependency and realized the following message appeared:My program ran into the same issue but this time I noticed that
shelljs
dir is being set to the dist dir of whisperer package. So I double checked by doing aprocess.cwd()
andpath.resolve(__dirname)
and realized the following:📝 Aditional Info
Now I could go ahead and just resolve all paths with the later, but I don't think that would be a proper solution.
Here's the code I used:
Could you provide any input or support on this, please? I'd like to use this for my project!
The text was updated successfully, but these errors were encountered: