Open Autometrique opened 1 year ago
I finally managed to make it work by adding the module to the experimental "serverComponentsExternalPackages" in the next.config.js. Hope it will help others
experimental: {
serverComponentsExternalPackages: ['@napi-rs/canvas']
},
Is this on the Hobby plan? When I use it on Vercel, it never installs any of the optional dependencies. Does it work correctly if the optional dependencies are not installed?
@napi-rs/canvas breaks my deployment on Vercel
It's working fine on local.
"@napi-rs/canvas": "^0.1.44" "next": "^13.4.19", npm version: 10.1.0
I have all the optional dependencies :