cyntler / react-doc-viewer

File viewer for React.
https://cyntler.github.io/react-doc-viewer
Apache License 2.0
373 stars 125 forks source link

Module parse failed: Unexpected character '�' #246

Open FranticSoft opened 5 months ago

FranticSoft commented 5 months ago

Hello, wondering if anyone else has seen this error?

./node_modules/canvas/build/Release/canvas.node Module parse failed: Unexpected character '�' (1:2) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code omitted for this binary file)

Is this a known error? Any found fixes?

srijan1805 commented 5 months ago

Screenshot from 2024-04-28 22-26-22

Found it here - https://www.npmjs.com/package/react-pdf

cyntler commented 3 months ago

I should add this to the README.