adrianhajdin / figma_clone

Figma Clone using Next.js, Fabric.js and Liveblocks in TypeScript
https://jsmastery.pro
1.02k stars 264 forks source link

Module parse failed: /canvas/build/Release/canvas.node Unexpected character '�' #14

Open Tapendra18 opened 7 months ago

Tapendra18 commented 7 months ago

Screenshot from 2024-03-11 23-23-02 how i solve this .

rcRen commented 7 months ago

Try to add these webpack configs on your next.config.js(or next.config.mjs) file. It works well after adding these lines of webpack configs. Hope this helps.

Screenshot 2024-03-15 at 4 23 34 PM