Npm install jade reported an error.

  node.js, question

Entering npm install jade -g at the command line will report the following error

However, it is normal for me to install other modules such as Express and Mangodb globally, Why is this?.
I installed jade under other folders before, but it was not installed in the global. I deleted it later. Now the global installation of jade will report an error. Is this the reason? Please share the solution with students who have had relevant experience. Thank you

Jade has changed its name to pug. give it a try.

npm install pug -g

The specific reason for the change of name is unclear, most likely due to the recent npm turmoil.