Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

harmony原生工程安装har包出错 #5

@HaddyYang

Description

@HaddyYang

描述 / Description

oh-package.json5写入

"@react-native-oh-tpl/react-native-background-timer": "file:../libs/background_timer.har",

本地指定的位置,加入该包。
然后执行同步并刷新操作,提示
ohpm ERROR: local dependency "@react-native-oh-tpl/react-native-background-timer" found in "E:\eigentunesapp_harmony_native\entry\oh-package.json5" does not match the actual name "background_timer" of its oh-package.json5
ohpm ERROR: Install failed, detail: There are some dependency names that are inconsistent with the actual package names.

复现步骤 / Steps to reproduce

No response

库版本 / Library version

3.6.3

React Native OpenHarmony version

0.72.29

构建类型 / Build type

Debug app & dev bundle

设备 / Device

Simulator

设备版本 / Device model

Windows

已悉知 / Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions