node.js – I am getting Canvas error while running JavaScript
I ran a [nft generator script by Hashlips][1]. While using node index.js
command in terminal, I am getting this error below.
[![error while running node index.js][2]][2]
After that, I tried installing canvas using npm i canvas
which threw this error below
[![enter image description here][2]][2]
[![enter image description here][3]][3]
How can I solve this.
[1]: github.com/HashLips/hashlips_art_engine/releases/tag/v1.0.0_update
[2]: i.stack.imgur.com/5Teu6.png
[3]: i.stack.imgur.com/jQXFX.png
Read more here: Source link