小编goy*_*alM的帖子

角构建失败,“数据路径为'.sourceMap'应该是对象”。

我正在使用angular CLI命令构建我的angular应用程序 ng test --source-map=false

一切正常,但是突然我开始遇到以下错误

Schema validation failed with the following errors:
Data path ".sourceMap" should be object.
Data path ".sourceMap" should be boolean.
Data path ".sourceMap" should match exactly one schema in oneOf.
Run Code Online (Sandbox Code Playgroud)

在某些检查中,问题似乎是由--source-map参数引起的,但不确定确切原因。

build angular-cli angular

7
推荐指数
1
解决办法
1138
查看次数

标签 统计

angular ×1

angular-cli ×1

build ×1