What is the right canvas version for node 14.18.0
NoobCoderJJ opened this issue · comments
NoobCoderJJ commented
Linus Unnebäck commented
I'm not sure how Heroku builds your dependencies, if it just copies them from your machine you need to deploy from the same environment as you are going to run in.
Since the top of the error message you provided is missing it's hard to tell exactly what the problem is...
mn4367 commented
@NoobCoderJJ, I think the correct native modules are picked up by canvas it self during npm i
, depending on the underlying Node.js version. Node.js 14 and 16 are both running fine with canvas 2.8.0 here.
Gideon Lingle commented
Is the solution here just to run a lesser version of canvas?
Edit: Sorry for the bump.