我正在尝试使用angular-cli-ghpages部署角度app . ng build -prod --base-href 命令成功 .

我已经成功安装了angular-cli-ghpages包 . 但是,当我尝试运行命令 angular-cli-ghpages 时,我看到错误:找不到angular-cli-ghpages命令

here is my console log

C02VQ0XYHTDD~ / Documents / Typescript / TypeScript / ng5(master)$ npm i -g angular-cli-ghpages /Users/anirudhk/.npm-packages/bin/angular-cli-ghpages - > /Users/anirudhk/.npm -packages / lib / node_modules / angular-cli-ghpages / bin / angular-cli-ghpages /Users/anirudhk/.npm-packages/bin/ngh - > /Users/anirudhk/.npm-packages/lib/node_modules/angular -cli-ghpages / bin / angular-cli-ghpages angular-cli-ghpages@0.5.2更新了1.35s中的1个包C02VQ0XYHTDD~ / Documents / Typescript / TypeScript / ng5(master)$ angular-cli-ghpages -bash:angular -cli-ghpages:命令未找到anirudhk @ C02VQ0XYHTDD~ / Documents / Typescript / TypeScript / ng5(master)$ ngh -bash:ngh:command not found

任何帮助表示赞赏 . 我尝试卸载并重新安装angular-cli-ghpages包,尝试重启机器 . 他们似乎都没有工作 .