VadimDez / ng2-pdf-viewer

📄 PDF Viewer Component for Angular
https://vadimdez.github.io/ng2-pdf-viewer/
MIT License
1.3k stars 419 forks source link

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

Open Tarek-Issaoui opened 5 months ago

Tarek-Issaoui commented 5 months ago

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')
    ╵ 
thatsmekaustubh commented 4 months ago

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

shakthi605 commented 2 months ago

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