sh: 1: node: Permission denied

前端 未结 7 550
闹比i
闹比i 2021-02-01 03:24

Tried to run this command on ubuntu 18.04

npm install -g pngquant-bin

but I got this error,

[..................] | fetchMetada         


        
7条回答
  •  情话喂你
    2021-02-01 03:58

    I make the chown to project user owner (in USERID) dir and resolv the "permission denied" problem:

    sudo chown -R USERID.USERID *

提交回复
热议问题