macOS high sieera 10.13系統(tǒng)安裝pug,運(yùn)行是出錯?報(bào)錯信息:-bash: pug: command not found
macOS high sieera 10.13系統(tǒng)安裝pug,運(yùn)行是出錯?報(bào)錯信息:-bash: pug: command not found
macOS high sieera 10.13系統(tǒng)安裝pug,運(yùn)行是出錯?報(bào)錯信息:-bash: pug: command not found
2018-04-05
舉報(bào)
2018-05-18
因?yàn)?pug 并沒有安裝到全局變量中,所以找不到命令。
根據(jù)終端報(bào)錯信息來看,用 sudo 管理員權(quán)限再次執(zhí)行 npm i pug-cli -g