积分431 / 贡献0

提问31答案被采纳5文章47

Flutter for OpenHarmony 安装pathprovider报错

润开鸿_坚果 显示全部楼层 发表于 2024-7-21 09:23:31

Flutter for OpenHarmony 安装pathprovider报错

ohpm install --all invoke success.

hvigor ERROR: Schema validate failed. Detail: Please check the following fields. { instancePath: 'modules[1].srcPath', keyword: 'pattern', params: { pattern: '^(\./|\.\./)[\s\S]+$' }, message: 'must match pattern "^(\./|\.\./)[\s\S]+$"', location: '/harmonyflutter/daysmatter/ohos/build-profile.json5:42:154' } { instancePath: 'modules[2].srcPath', keyword: 'pattern', params: { pattern: '^(\./|\.\./)[\s\S]+$' }, message: 'must match pattern "^(\./|\.\./)[\s\S]+$"', location: 'harmonyflutter/daysmatter/ohos/build-profile.json5:54:104' } { instancePath: 'modules[3].srcPath', keyword: 'pattern', params: { pattern: '^(\./|\.\./)[\s\S]+$' }, message: 'must match pattern "^(\./|\.\./)[\s\S]+$"', location: '/daysmatter/ohos/build-profile.json5:66:99' }

hvigor ERROR: BUILD FAILED in 589 ms

hvigorw assembleHap --no-daemon invoke err

image.png

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论1

fengyunrenwu

沙发 发表于 2024-8-13 18:24:59
scrPath现在只支持相对路径,不能使用绝对路径,建议排查一下scrPath。

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部