npm install puppeteer showing permission denied errors

前端 未结 3 1243
北荒
北荒 2021-01-05 17:55

I\'m unable to install puppeteer as a project dependency, and I\'ve tried re-installing node. Anyone have an idea on how to fix this? Running Ubuntu 17.10 x64

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-05 18:29

    Run this on your terminal:

    sudo npm install -g puppeteer --unsafe-perm=true
    

提交回复
热议问题