npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm

前端 未结 1 1805
醉梦人生
醉梦人生 2021-02-12 11:52

I am installing node.js on a CentOS 7 server, and am getting the following error when I try to install yeoman:

npm WARN deprecated npmconf@2.1.2: this package          


        
1条回答
  •  一整个雨季
    2021-02-12 12:58

    The problem is that the version of npm that is bundled with the "latest stable" version of node does not properly install some of our npm packages. To fix this, open a command prompt and run:

    npm -g install npm
    

    To update npm to the latest version. This should fix the problem.

    0 讨论(0)
提交回复
热议问题