ERROR: Schema validate failed.

hvigor ERROR: Failed :pc_settings:default@PreBuild… 
hvigor ERROR: Schema validate failed.Detail: Please check the following fields.{instancePath: ‘’,keyword: ‘enum’,params:  
{ allowedValues: [ ‘dbSchema’ ] },message: ‘must be equal to one of the allowed values’,location: ‘D:/Code/xxx/new/Settings/product/pc/src/main/resources/rawfile/arkdata/schema/schema.json:1:2’} 
{instancePath: ‘’,keyword: ‘propertyNames’,params: { propertyName: ‘searchConfig’ },message: ‘property name must be valid’,location: ‘D:/Code/xxx/new/Settings/product/pc/src/main/resources/rawfile/arkdata/schema/schema.json:1:2’} 
hvigor ERROR: BUILD FAILED in 1 s 257 ms
HarmonyOS
2024-08-23 12:53:34
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
zxjiu

需要打开schema.json文件,找到dbSchema和searchConfig等相关的字段和属性,检查它们的值和名称是否正确。如果发现错误,需要进行相应的修改。

分享
微博
QQ
微信
回复
2024-08-23 15:21:00
相关问题
Error: Install eTS 3.1.0.0 failed.
3939浏览 • 1回复 待解决
ERROR_GET_BUNDLE_INSTALLER_FAILED
3313浏览 • 1回复 待解决
“Failure[ERROR_GET_BUNDLE_INSTALLER_FAILED]”
467浏览 • 1回复 待解决
Failure[INSTALL_PARSE_FAILED_USESDK_ERROR]
10891浏览 • 5回复 已解决