-
-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error : build: Module not found: Can’t resolve ‘../build/Release/canvas.node’ #1592
Comments
I have the same problem that's been solved here Automattic/node-canvas#1825 (comment) |
thank you |
prebuilds node-canvas dependency is not compatible with ARM CPU. |
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 fc18d18. 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
The text was updated successfully, but these errors were encountered: