Answer the question
In order to leave comments, you need to log in
Node.js can't install modules. Why?
I want to install the module https://github.com/cheeriojs/cheerio
I
downloaded the archive from Git.
Unpacked. Opened a command window in the folder. npm install cheerio
Answer
npm WARN install Refusing to install cheerio as a dependency of itself
Answer the question
In order to leave comments, you need to log in
Everything correctly throws an error, you are trying to install cheerio as a dependency in itself. You do not need to merge the archive with git, just put it in an empty folder via npm install cheerio. Git is not needed for this at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question