Closed mz-chansm closed 11 months ago
I have the same problem that's been solved here https://github.com/Automattic/node-canvas/issues/1825#issuecomment-1090125736
I have the same problem that's been solved here Automattic/node-canvas#1825 (comment)
thank you why reason? only m1 mac issue ?
I have the same problem that's been solved here Automattic/node-canvas#1825 (comment)
thank you why reason? only m1 mac issue ?
prebuilds node-canvas dependency is not compatible with ARM CPU.
I only encountered this issue on m1 mac.
Does this mean there are potential deployment issues when using this library i.e. can you deploy to netlify vercel etc or do you need to create a more customised install environment?
I have just added functional Next.js samples in fc18d18132882e9a7bfb4d2d9a8cd16e8186bf32. Builds just fine on my M2 Mac. Check if these are working for you as well.
In the meantime, I'm closing this; if samples aren't working in some configurations, we will look at them instead.
Before you start - checklist
Description
Two out of ten people had this error. I merged it into the development and installed it, but there was an error. The two are using m1 mac The error name is as follows. error :platform:build: Module not found: Can’t resolve ‘../build/Release/canvas.node’
As you told me, the setting is as follows.
next.config.js
package.json
pdf.tsx
Steps to reproduce
Expected behavior
N/A
Actual behavior
N/A
Additional information
No response
Environment