I’m having an odd issue.
Any time I change any file inside my
netlify/functions/ folder, the
node-canvas module and
jsdom modules fail to load. I have to stop the
netlify dev function and restart.
I get this error loading PaperJS,
Unable to load jsdom module. Same error for
node-canvas module triggered by any file change.
Am I missing something?
Edit: The node-canvas error is:
Module did not self-register: '/home/kay/devel/9amim/node_modules/canvas/build/Release/canvas.node'