我是元服务的包名,以及自动签名的信息配置好以后,在真机上调试的时候遇到错误,请问如何解决?
2024-12-18 08:25:09
15次阅读
0个回答
我是元服务的包名,以及自动签名的信息配置好以后,在真机上调试的时候遇到错误,请问如何解决?
08:22:36.037 安装鸿蒙工程依赖成功
08:22:36.037 元服务依赖ascf-toolkit,请确保已全局安装成功,安装命令:npm install -g @atomicservice/ascf-toolkit --registry=https://registry.npmmirror.com
08:22:36.037 开始制作运行包 .hap,请耐心等待 ................
08:22:49.425 Installing dependencies...
Progress: resolved 1, reused 0, downloaded 0, added 0
WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
WARN deprecated @babel/plugin-proposal-object-rest-spread@7.18.9: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
WARN deprecated eslint@8.31.0: This version is no longer supported. Please see https://eslint.org/version-support for other options.
WARN deprecated rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
WARN deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
WARN deprecated acorn-import-assertions@1.9.0: package has been renamed to acorn-import-attributes
Progress: resolved 239, reused 239, downloaded 0, added 0
WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
Progress: resolved 488, reused 488, downloaded 0, added 0
Packages: +494
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: /Users/jianguo/.hvigor/caches/v3
Virtual store is at: node_modules/.pnpm
Progress: resolved 494, reused 494, downloaded 0, added 166
Progress: resolved 494, reused 494, downloaded 0, added 494, done
dependencies:
+ @atomicservice/ascf-toolkit-hvigor-plugin 1.0.1
WARN Issues with peer dependencies found
.
└─┬ @atomicservice/ascf-toolkit-hvigor-plugin 1.0.1
└─┬ @atomicservice/ascf-toolkit 1.0.1
└─┬ rollup-plugin-babel 4.4.0
└── ✕ missing peer rollup@">=0.60.0 <3"
Peer dependencies that should be installed:
rollup@">=0.60.0 <3"
Done in 4.6s
Hvigor install success.
> hvigor WARN: Please confirm the symbolic link is valid: .../oh_modules/@dcloudio/uni-app-harmony-framework
> hvigor WARN: The current module 'cbb1acc50b2653ebd30b6476f0642238' has dependency which is not installed at its oh-package.json5.
> hvigor WARN: Please confirm the symbolic link is valid: .../oh_modules/@dcloudio/uni-app-harmony-framework
> hvigor Finished :entry:clean... after 24 ms
> hvigor Finished :entry:default@PreBuild... after 65 ms
> hvigor Finished :entry:default@GenerateMetadata... after 2 ms
> hvigor Finished :entry:default@ConfigureCmake... after 1 ms
> hvigor Finished :entry:default@MergeProfile... after 2 ms
> hvigor Finished :entry:default@CreateBuildProfile... after 1 ms
> hvigor Finished :entry:default@PreCheckSyscap... after 1 ms
> hvigor WARN: Please confirm the symbolic link is valid: .../oh_modules/@dcloudio/uni-app-harmony-framework
> hvigor Finished :entry:default@GeneratePkgContextInfo... after 1 ms
> hvigor Finished :entry:default@ProcessIntegratedHsp... after 1 ms
> hvigor Finished :entry:default@BuildNativeWithCmake... after 1 ms
> hvigor Finished :entry:default@MakePackInfo... after 2 ms
> hvigor Finished :entry:default@ProcessProfile... after 48 ms
> hvigor Finished :entry:default@SyscapTransform... after 1 ms
> hvigor Finished :entry:default@ProcessRouterMap... after 2 ms
> hvigor Finished :entry:default@BuildNativeWithNinja... after 1 ms
> hvigor Finished :entry:default@ProcessResource... after 2 ms
> hvigor Finished :entry:default@GenerateLoaderJson... after 4 ms
> hvigor Finished :entry:default@CompileResource... after 83 ms
> hvigor Finished :entry:default@BuildJS... after 1 ms
> hvigor Finished :entry:default@ProcessLibs... after 8 ms
> hvigor Finished :entry:default@DoNativeStrip... after 3 ms
> hvigor Finished :entry:default@CacheNativeLibs... after 4 ms
> hvigor ERROR: Failed :entry:default@CompileArkTS...
> hvigor ERROR: ENOENT: no such file or directory, stat '.../oh_modules/@dcloudio/uni-app-harmony-framework'
1 ERROR: ArkTS:ERROR File: .../entry/src/main/ets/entryability/EntryAbility.ets:1:31
Cannot find module '@atomicservice/ascf' or its corresponding type declarations.
2 ERROR: ArkTS:ERROR File: .../entry/src/main/ets/uni-app/components/SafeAreaOffset.ets:6:8
Cannot find module '../../../resources/rawfile/uni-app/uni-app-harmony-framework-dev' or its corresponding type declarations.
3 ERROR: ArkTS:ERROR File: .../entry/src/main/ets/uni-app/components/TabBar.ets:1:32
Cannot find module '../../../resources/rawfile/uni-app/uni-app-harmony-framework-dev' or its corresponding type declarations.
4 ERROR: ArkTS:ERROR File: .../entry/src/main/ets/pages/Page.ets:4:8
Cannot find module '../../resources/rawfile/uni-app/uni-app-harmony-framework-dev' or its corresponding type declarations.
COMPILE RESULT:FAIL {ERROR:5}
> hvigor ERROR: BUILD FAILED in 7 s 726 ms
08:22:49.425 运行包制作失败
00
- 15回答
- 14粉丝
- 9关注
相关问题
- 你好,要将对应在鸿蒙工程中的文件,拷贝到 harmony-configs 对应位置,指的是原生工程中的的文件吧?我全部copy过来之后改了包名和签名信息后,运行报这个错误
- 求助:关于元服务中使用preferences的相关问题
- 最新的5.0.1版本的IDE,上传包的时候,报错如图所示!
- 元服务上架预审失败
- 创建的应用harmony-configs是空的,是正常的吗?
- 如何将小组成员提供的xxx.hap包跟自己的yyy.hap包联动?
- 使用profiler性能调优工具,实际应用中发现了什么问题,怎么解决的例子?
- 上架报参数错误
- 运行 flutter pub get 遇到 "File name too long" 问题
- 长连接是用WebSocket吗?
- 长连接是用WebSocket吗?
- web组件打开 url是一个 js文件
- OpenHarmony应用开发课程,要准备的物料有哪些?
- 有没有好用的在线图标裁剪工具?