Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sobrinho opened this issue May 20, 2022 · 4 comments
Labels
bug Indicates an unexpected problem or unintended behavior.

Comments

@sobrinho
Copy link

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 sobrinho added the bug Indicates an unexpected problem or unintended behavior. label May 20, 2022
@louistiti
Copy link
Member

Hi @sobrinho 👋,

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?

@Inushin
Copy link

Inushin commented Jun 21, 2022

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 ^^

@louistiti
Copy link
Member

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. coqui-ai/STT#2023

@louistiti
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior.
Projects
None yet
Development

No branches or pull requests

3 participants