Open thejsj opened 10 years ago
'lame' support is optional. if lame is not installed, timbre.js is expected to ignore it.
https://github.com/mohayonao/timbre.js/blob/master/timbre.node.js#L64
var lame = (function() {
try { return require("lame"); } catch (e) {}
})();
umm.. please tell me the detail of the error message.
I have the same problem.
Error: Cannot find module 'lame' from '/node_modules/timbre'
if yall are getting this error when using timbre.js with browserify, you can use browserify's --ignore-missing
flag to skip the unresolved require
s for lame
, ogg
, and vorbis
When you try to require('timbre') it throws the following error.
This seems to be because this package is not listed as a dependency in the package.json.
Should be as simple as: