ArdaGnsrn/elevenlabs-js

The response data is not being saved to the specified directory.

Opened this issue · 1 comments

Describe the bug
The response data is not being saved to the specified directory.

To Reproduce
Steps to reproduce the behavior:

get textToSpeech response.
use response.saveFile function with directory path to save in the given directory.

Expected behavior
The response data should be saved to the specified directory as configured.

error message
Error: EISDIR: illegal operation on a directory,

Desktop:
OS: Windows 11
node version: v20.10.0

run your terminal with admin priveleges