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

no such file or directory for wav file #2

Open
vancelin opened this issue Sep 1, 2022 · 1 comment
Open

no such file or directory for wav file #2

vancelin opened this issue Sep 1, 2022 · 1 comment

Comments

@vancelin
Copy link

vancelin commented Sep 1, 2022

Hello,

after I tried to solve the reCaptcha, then I got this message

[Error: ENOENT: no such file or directory, open '/var/folders/5k/103mnjwx2rncp6btbvlt5z980000gn/T/reSOLVER-9454634224111578/out.wav'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/folders/5k/103mnjwx2rncp6btbvlt5z980000gn/T/reSOLVER-9454634224111578/out.wav', name: 'ENOENTError' }

and I found there's a sound.mp3 file at that path, but not the Wav file.

thanks for this awesome library.

@JacobLinCool
Copy link
Owner

It seems that the first part is working, but the conversion between mp3 and wav failed.

Please try the following two things:

  1. Check if ffmpeg is installed ffmpeg -version, if ffmpeg is not installed, you can use brew install ffmpeg to install it.
  2. Pass VERBOSE env var to enable debug mode, which will pipe the ffmpeg output to stdout. For example: VERBOSE=1 node path/to/js

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

2 participants