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
{{ message }}
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
Hello, I am following the steps in the documentation.
I am trying to add PlayHT to a project using next.js and webpack 5 but I am getting this error when I tried to call the listVoices method.
I get this error:
Error: Cannot find module 'tls'
...
⚠ ./node_modules/playht/dist/esm/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
Hello, I am following the steps in the documentation.
I am trying to add PlayHT to a project using next.js and webpack 5 but I am getting this error when I tried to call the listVoices method.
I get this error:
I tried this config but it didn't work:
Do you guys have any ideas what I am doing wrong?
Edit:
I just found this link from someone with the same problem
https://stackoverflow.com/questions/77830195/playht-integration-with-nextjs