NPM won't install any package on Mac. New, clean build. `EACCES` & other errors

前端 未结 6 1002
野性不改
野性不改 2021-02-07 15:32

I\'ve just rebuild my Mavericks (Mac OS X Version 9.4) machine from scratch. I am the administrator and only user of this machine.

  • I installed Git via their
6条回答
  •  Happy的楠姐
    2021-02-07 15:59

    It's generally not advised to run sudo unless absolutely necessary.

    For issues like this, NPM can solve many issues, and allow multiple node versions to be used, and selected depending upon your use case.

    I had a similar issue setting up a new machine, and installing NPM took care of the issue.

提交回复
热议问题