You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thrown:
TypeError: document.createElement(...).getContext is not a function
at messureText (/Users/longen/temp/node_modules/jsbarcode/bin/renderers/shared.js:77:42)
at calculateEncodingAttributes (/Users/longen/temp/node_modules/jsbarcode/bin/renderers/shared.js:39:16)
at SVGRenderer.prepareSVG (/Users/longen/temp/node_modules/jsbarcode/bin/renderers/svg.js:59:44)
at SVGRenderer.render (/Users/longen/temp/node_modules/jsbarcode/bin/renderers/svg.js:36:9)
at render (/Users/longen/temp/node_modules/jsbarcode/bin/JsBarcode.js:227:11)
at API.render (/Users/longen/temp/node_modules/jsbarcode/bin/JsBarcode.js:206:3)
at JsBarcode (/Users/longen/temp/node_modules/jsbarcode/bin/JsBarcode.js:76:55)
I want to use JsBarcode in svg, so i found this in readme file.
i try this step by step, but got some errors
error:
env:
node: v10.24.1
[email protected]
The text was updated successfully, but these errors were encountered: