Skip to content

NextJS + web support #293

Description

@avaer

I understand that this library uses child_process to shell out to some functionality, but this library also duals as a client wrapper for the API, so it seems reasonable to want to include it in the frontend (which might not need any of the child_process functionality, it just wants to access the API from TS).


I see there have been other issues related to child_process, I am getting similar:

./node_modules/.pnpm/@elevenlabs+elevenlabs-js@2.20.0/node_modules/@elevenlabs/elevenlabs-js/wrapper/play.js
Module not found: Can't resolve 'child_process'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./node_modules/.pnpm/@elevenlabs+elevenlabs-js@2.20.0/node_modules/@elevenlabs/elevenlabs-js/wrapper/index.js
./node_modules/.pnpm/@elevenlabs+elevenlabs-js@2.20.0/node_modules/@elevenlabs/elevenlabs-js/index.js

Is there any plan to (once again) support web environments with this library? ^2.3.0 worked previously on the web.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttrackingFeature request being monitored for interest, upvote to show support

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions