Skip to content

"Text-to-Speech WebGPU" Example Not Working #53

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

Open
babycommando opened this issue Apr 11, 2025 · 1 comment
Open

"Text-to-Speech WebGPU" Example Not Working #53

babycommando opened this issue Apr 11, 2025 · 1 comment

Comments

@babycommando
Copy link

Hey, when running the example at:
https://github.com/huggingface/transformers.js-examples/tree/main/text-to-speech-webgpu

I got:

✘ [ERROR] Failed to resolve entry for package "fs". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-pre-bundle]

    node_modules/outetts/outetts.js/version/v1/interface.js:111:36:
      111 │             const fs = await import("fs");
          ╵                                     ~~~~

  This error came from the "onResolve" callback registered here:

    node_modules/esbuild/lib/main.js:1151:20:
      1151 │       let promise = setup({
...

12:09:02 [vite] (client) error while updating dependencies:
Error: Build failed with 1 error:
node_modules/outetts/outetts.js/version/v1/interface.js:111:36: ERROR: [plugin: vite:dep-pre-bundle] Failed to resolve entry for package "fs". The package may have incorrect main/module/exports specified in its package.json.

Seems like I'm not being lucky running TTS models on the browser :P

@babycommando
Copy link
Author

Cc @xenova

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant