As a beginner of node.js, NodeJS npm failed to install bower under windows environment. how do you solve it?

  node.js, question

As a beginner of node.js, according to the online installation tutorial, installing bower with npm failed. How do you solve it? The installation tutorial refers tohttp://jingyan.baidu.com/article/2d5afd69e243cc85a2e28efa.html
图片描述

If installedgit, then usegitOwngit bashBe your command line tool,npm install -g bower

WindowscmdIt is not functional and is not recommended. This is probably the reason.