npm install -g yo command gives -> ERR! yo@1.1.0 postinstall: `node scripts/doctor.js`

前端 未结 7 608
醉梦人生
醉梦人生 2020-12-31 04:38

I just tried to do a npm install but get this error about doctor,js at the end. Do I need to worry about it?

npm install -g yo

. .



        
7条回答
  •  清歌不尽
    2020-12-31 04:46

    To solve this problem you need to install the package nodejs-legacy.

    sudo apt-get install nodejs-legacy
    

提交回复
热议问题