Open Chroniccoding opened 2 years ago
First, run the command npm install -g node-gyp
to install the node-gyp package globally.
Next, install the canvas package by running npm install canvas.
Then, install the latest version of puppeteer by running npm install puppeteer@latest.
Finally, run npm install
to install any remaining modules and dependencies.
It work in my case
Version
General Question
What happened?
A bug happened! I am trying create an nft collection and keep getting this error when I try to do npm install. Can someone help me?
What have you tried?
I Googled and asked the community in the discord server but could not find a solution.
Relevant log output
Protect your information