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
{{ message }}
This repository was archived by the owner on Jul 8, 2026. It is now read-only.
Error in Payment Status: AssertionError [ERR_ASSERTION]: html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath'
0|cdc_middleware | at new PDF (/home/CDC_Middleware_Application/node_modules/html-pdf/lib/pdf.js:40:3)
0|cdc_middleware | at Object.createPdf [as create] (/home/CDC_Middleware_Application/node_modules/html-pdf/lib/index.js:10:14)
0|cdc_middleware | at Object.generateInvoicePDF (/home/CDC_Middleware_Application/utility/torrentBillDeskService.js:776:13)
0|cdc_middleware | at module.exports (/home/CDC_Middleware_Application/controllers/torrentPaymentStatus.js:26:38)
0|cdc_middleware | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
0|cdc_middleware | generatedMessage: false,
0|cdc_middleware | code: 'ERR_ASSERTION',
0|cdc_middleware | actual: undefined,
0|cdc_middleware | expected: true,
0|cdc_middleware | operator: '=='
0|cdc_middleware | }
I keep encountering this error on the CentOS server with an ARM64 processor and Node.js version 20. Can anyone suggest how to resolve this issue?
Error in Payment Status: AssertionError [ERR_ASSERTION]: html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath'
0|cdc_middleware | at new PDF (/home/CDC_Middleware_Application/node_modules/html-pdf/lib/pdf.js:40:3)
0|cdc_middleware | at Object.createPdf [as create] (/home/CDC_Middleware_Application/node_modules/html-pdf/lib/index.js:10:14)
0|cdc_middleware | at Object.generateInvoicePDF (/home/CDC_Middleware_Application/utility/torrentBillDeskService.js:776:13)
0|cdc_middleware | at module.exports (/home/CDC_Middleware_Application/controllers/torrentPaymentStatus.js:26:38)
0|cdc_middleware | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
0|cdc_middleware | generatedMessage: false,
0|cdc_middleware | code: 'ERR_ASSERTION',
0|cdc_middleware | actual: undefined,
0|cdc_middleware | expected: true,
0|cdc_middleware | operator: '=='
0|cdc_middleware | }
I keep encountering this error on the CentOS server with an ARM64 processor and Node.js version 20. Can anyone suggest how to resolve this issue?