Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does npm flash "verb" and "sill" while installing things?

Tags:

node.js

npm

I'd like to understand what is intended to be communicated by the words "verb" and "sill" when installing node modules via npm:

⋊> ~/t/quill on develop ◦ npm install                                                                                                                                  15:35:02 ⸨      ░░░░░░░░░░░░⸩ ⠙ fetchMetadata: sill mapToRegistry uri https://registry.npmjs.org/big.js 

The sill right before mapToRegistry also changes to verb and back again. What do these mean?

like image 716
Duane J Avatar asked Jun 15 '17 21:06

Duane J


People also ask

What is sill in npm install?

sill shows log level is silly in which almost anything is logged. verb indicates verbose log level that shows log messages a little bit less than silly but more than info . Regarding the npm official documentation, it has following log levels that are sorted from the least log messages to the most ones: silent. error.

How do I resolve npm installation issues?

The easiest way to fix the issue is to pass an additional parameter –legacy-peer-deps to npm install. The --legacy-peer-deps tells the npm to ignore the peer dependencies and continue the installation of the package.

Why npm is not installing?

On Windows, the cause of this error could be that a PATH or system variable is not correctly set. The error can also occur if you do not have npm or Node. js installed, have an outdated version, or have permission issues.

What happens during npm install?

The npm install installs all modules that are listed on package. json file and their dependencies. npm update updates all packages in the node_modules directory and their dependencies.


2 Answers

I believe this is referring to the silly (sill) and verbose (verb) log levels for npm install. See changelog here.

I am not quite sure how it ascertains which to use, but it is for the npm log files to enable easier debugging for developers.

like image 145
Peter Reid Avatar answered Sep 20 '22 13:09

Peter Reid


sill shows log level is silly in which almost anything is logged. verb indicates verbose log level that shows log messages a little bit less than silly but more than info. Regarding the npm official documentation, it has following log levels that are sorted from the least log messages to the most ones:

  • silent
  • error
  • warn
  • notice
  • http
  • timing
  • info
  • verbose
  • silly
like image 42
Abdollah Avatar answered Sep 18 '22 13:09

Abdollah