leon icon indicating copy to clipboard operation
leon copied to clipboard

Error: Cannot find module '/Users/sobrinho/.leon/node_modules/stt/lib/binding/v1.1.0/darwin-arm64/node-v93/stt.node'

Open sobrinho opened this issue 3 years ago • 4 comments

Specs

  • Leon version: 1.1.2
  • OS (or browser) version: N/A
  • Node.js version: 16
  • Complete "leon check" (or "npm run check") output: N/A
  • (if using Docker) Complete "npm run docker:check" output: N/A
  • (optional) Leon package version: N/A

Expected Behavior

Actual Behavior

Screen Shot 2022-05-20 at 16 13 06

How Do We Reproduce?

Extra (like a sample repo to reproduce the issue, etc.)

sobrinho avatar May 20 '22 19:05 sobrinho

Hi @sobrinho :wave:,

Please share your .env file by removing the sensitive info if there is any. Also, have you run the npm run setup:offline-stt first to install Coqui?

louistiti avatar May 21 '22 00:05 louistiti

For me it was something related with the Node version, but I think that your case is related with the processor. Checking the directories of the instalation for that version (npm i [email protected]), it looks like there is no support for darwin-arm64, only for darwin-x64 so that may be the reason why it cannot find the module it is looking for.

imagen

Hope this helps your or someone ^^

Inushin avatar Jun 21 '22 11:06 Inushin

Looks like Coqui STT does not support darwin-arm64 out of the box yet. Once it is supported, it will be added to Leon. Cf. https://github.com/coqui-ai/STT/issues/2023

louistiti avatar Sep 10 '22 04:09 louistiti