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

前端 未结 7 556
醉梦人生
醉梦人生 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:11

    The solution at this link has worked for me:

    http://plaidzooks.tumblr.com/post/36894116867/using-node-js-on-debian-ubuntu-systems

    Ubuntu comes with a package that automatically creates a link so the command 'nodejs' can be invoked as 'node' only by creating a link.

    sudo apt-get install nodejs-legacy
    

    And that got Yeoman working.

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