Hello !
I just installed GM + barcode this way :
brew install graphicsmagick
npm install --save barcode
I'm trying to use it this way :
var barcode = require('barcode');
barcode('ean13', {
data: myEan13,
width: 400,
height: 100,
});
but I get this error in the browser console :
Uncaught Error: Cannot find module './lib/ean13'
I verified in the node_modules/barcode folder, the file ./lib/ean13s exists ...
Any idea ?
Thanks !!
Hello !
I just installed GM + barcode this way :
I'm trying to use it this way :
but I get this error in the browser console :
I verified in the
node_modules/barcodefolder, the file ./lib/ean13s exists ...Any idea ?
Thanks !!