Error: EACCES: permission denied when trying to install ESLint using npm

后端 未结 8 1162
执念已碎
执念已碎 2021-01-29 23:59

I\'m trying to install ESLint with npm by going:

npm install -g eslint

However I get the following error:

Deans-Air:~ deangibso         


        
8条回答
  •  迷失自我
    2021-01-30 00:49

    For MAC user provide the access permission to project directory folder

    1. Right click on project directory folder
    2. Select get info
    3. Provide the access permission - Apply to inclosed items

提交回复
热议问题