angularjs ng生成问题:错误:未知参数:base-href/

7kjnsjlb  于 5个月前  发布在  Angular
关注(0)|答案(1)|浏览(51)

Issue Image
上面的错误是我在尝试使用ng build命令构建外部托管的angular项目时发出的,有人遇到过这个问题吗?
尝试运行angular项目的ng build,期望运行命令,该命令生成包含外部构建文件的docs文件夹。

ecfdbz9o

ecfdbz9o1#

我发现了问题所在,
因此,解决方案是我们需要在命令href/<repo name> is wrong href /<repo name> is correct.Check the changes after updating the command中的“href”后面保留空格

相关问题