codeSTACKr / create-10k-nft-collection

MIT License
2.21k stars 717 forks source link

NMP install not working in Visual Studio Code Terminal #182

Open Chroniccoding opened 2 years ago

Chroniccoding commented 2 years ago

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

npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/10k-collection-video - Not found
npm ERR! 404
npm ERR! 404  '10k-collection-video@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Protect your information

MartinEmanuelMaldonado93 commented 1 year 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 installto install any remaining modules and dependencies. It work in my case