On trying to initialize lame (require it), the following error is thrown:
events.js:160
throw er; // Unhandled 'error' event
^
Error: error initializing params: -1
at Encoder._init (comp/node_modules/lame/lib/encoder.js:124:11)
at Encoder._transform (comp/node_modules/lame/lib/encoder.js:142:16)
at Encoder.Transform._read (comp/node_modules/readable-stream/lib/_stream_transform.js:184:10)
at Encoder.Transform._write (comp/node_modules/readable-stream/lib/_stream_transform.js:172:12)
at doWrite (comp/node_modules/readable-stream/lib/_stream_writable.js:279:12)
at writeOrBuffer (comp/node_modules/readable-stream/lib/_stream_writable.js:266:5)
at Encoder.Writable.write (comp/node_modules/readable-stream/lib/_stream_writable.js:211:11)
at B.ondata (comp/node_modules/readable-stream/lib/_stream_readable.js:572:20)
at emitOne (events.js:96:13)
at B.emit (events.js:188:7)
On trying to initialize lame (require it), the following error is thrown:
Any idea what could be causing that?