Error installing yeoman

前端 未结 5 1700
一整个雨季
一整个雨季 2020-12-14 13:03

Installing Yeoman on my OSX machine results in the following error:

paulh16$ npm install -g yo
npm http GET https://registry.npmjs.org/yo
npm http 304 https:         


        
5条回答
  •  不思量自难忘°
    2020-12-14 13:33

    This solved the issue for me. Setting the permission on the npm folder in your home directory was the fix for me.

    sudo chown -R `whoami` ~/.npm
    

提交回复
热议问题