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

Can't find file of buffer #10

Closed VolodymyrAndrushchak closed 5 years ago

VolodymyrAndrushchak commented 6 years ago

When I try to convert the mp3 file I get this error: Error: ENOENT: no such file or directory, unlink '/Users/test/Projects/proba-mp3/node_modules/node-lame/lib/build/../../temp/encoded/5op8Wh0WgCuDsYDddmAqeE6I5ICQbzT4'

It doesn't matter what I use - file or buffer, I get this error.

npm version: 6.0.1 node version: 9.4.0

edimuj commented 6 years ago

I had the same issue just a moment ago on Windows, my problem was that the lame installation wasn't in the env path since I forgot about to add it after installing it . Also see #6

TongDaDa commented 6 years ago

ENOENT: no such file or directory, unlink

jankarres commented 5 years ago

Excuse my late reply, please.

Please make sure you have LAME installed, as @edumuj says. Also make sure that the input file exists.

If you still have problems using node-lame, please reopen this issue.