npm install: Error: EACCES: permission denied, mkdir

后端 未结 4 1867
清歌不尽
清歌不尽 2021-02-03 14:46

I attempted to do a sudo npm install -g appium on Mac OS 10.12.5.

I get this error:

info Chromedriver Install Installing Chromedri

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-03 15:10

    you are using npm so you have to use

    sudo npm install --unsafe-perm
    In unsafe mode with every command you run
    hopefully, it will help

提交回复
热议问题