Error installing yeoman

前端 未结 5 1678
一整个雨季
一整个雨季 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:13

    try

    sudo chown -R $USER /usr/local

    and this kind of problem would be solved forever

    it's not encouraged to npm with sudo

提交回复
热议问题