VadimDez/ng2-pdf-viewer

No loader is configured for ".node" files: node_modules/canvas/build/Release/canvas.node

Tarek-Issaoui opened this issue · 2 comments

I'm working in angular@17.2.2 using ssr , also I'm using the ng2-pdf-viewer@10.2.2 , when I run the project, I got this error :
X [ERROR] No loader is configured for ".node" files: node_modules/canvas/build/Release/canvas.node

node_modules/canvas/lib/bindings.js:3:25:
  3 │ const bindings = require('../build/Release/canvas.node')
    ╵ 

@VadimDez any plans around this issue. Angular SSR is pretty much a industry standard

@Tarek-Issaoui Are you got any solutions for this issue ?