devowlio / node-lame

LAME is an open-source encoder that encodes and decodes audio to the MP3 file format. For all MP3 needs a Node.js wrapper of the full LAME command line.
Other
82 stars 9 forks source link

Crashes when i try to encode #21

Closed freddierick closed 3 years ago

freddierick commented 3 years ago

\node-lame\lib\build/../../temp/raw/in5ph5Ujd0xpBmoMq0zC774bxlSgJ3ir', it doesnt seem to cache anything in that file during runtime however it trys to retrieve it and crashes.

This is crashes when encoding from buffer to buffer and from buffer to file.

Error: spawn lame ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19) at onErrorNT (internal/child_process.js:456:16) at processTicksAndRejections (internal/process/task_queues.js:81:21) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn lame', path: 'lame', spawnargs: [

\node-lame\lib\build/../../temp/raw/in5ph5Ujd0xpBmoMq0zC774bxlSgJ3ir',

jankarres commented 3 years ago

I assume that you have not installed lame. Please checkout the readme to learn how to install the software: https://github.com/devowlio/node-lame#installation

silcki commented 3 years ago

@jankarres good day I have got another issue TypeError: fs_1.existsSync is not a function in tempFilePathGenerator Node: v14.8.0 "node-lame": "^1.2.2"

jankarres commented 3 years ago

@silcki This sounds like another issue. Please open a new ticket, and we help you there.

I close this thread because of inactivity.