Error "Can't find variable: WeakMap"
LucasSchneiderRS opened this issue · comments
LucasSchneiderRS commented
Tryin to use ApexCharts with, but gte this error...any ideas?
error = new Error('html-pdf: Unknown Error')
^
Error: html-pdf: Unknown Error
html-pdf: Evaluation - ReferenceError: Can't find variable: WeakMap
Stack:
at https://cdn.jsdelivr.net/npm/apexcharts
at https://cdn.jsdelivr.net/npm/apexcharts
at ChildProcess.respond (C:\DASS-OEE\RELATORIOS PDF\node_modules\html-pdf\lib\pdf.js:134:17)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Node.js v20.8.0