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

前端 未结 7 586
醉梦人生
醉梦人生 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 05:04

    Likewise I had this same problem (albeit on a Mac). I uninstalled and upgraded node to the latest version (v0.10.24) but without success.

    The symlink fix did work for me, although with a slight tweak:

    sudo ln -s /usr/local/bin/node /usr/bin/node

提交回复
热议问题