16:12:23.347 安装鸿蒙工程依赖成功
16:12:23.347 开始制作运行包 .hap,请耐心等待 ..................
16:13:38.524 > hvigor hvigor client: Starting hvigor daemon.
hvigor Hvigor Daemon started in 2.41 s
hvigor WARN: The current module 'app-harmony-b82962ff' has dependency which is not installed at its oh-package.json5.
hvigor Finished :entry:default@PreBuild... after 276 ms
hvigor UP-TO-DATE :entry:default@GenerateMetadata...
hvigor Finished :entry:default@ConfigureCmake... after 2 ms
hvigor Finished :entry:default@MergeProfile... after 61 ms
hvigor Finished :entry:default@CreateBuildProfile... after 5 ms
hvigor Finished :entry:default@PreCheckSyscap... after 2 ms
hvigor UP-TO-DATE :entry:default@GeneratePkgContextInfo...
hvigor Finished :entry:default@ProcessIntegratedHsp... after 5 ms
hvigor Finished :entry:default@BuildNativeWithCmake... after 1 ms
hvigor Finished :entry:default@MakePackInfo... after 9 ms
hvigor Finished :entry:default@ProcessProfile... after 415 ms
hvigor Finished :entry:default@SyscapTransform... after 308 ms
hvigor Finished :entry:default@ProcessRouterMap... after 10 ms
hvigor Finished :entry:default@BuildNativeWithNinja... after 2 ms
hvigor UP-TO-DATE :entry:default@ProcessResource...
hvigor Finished :entry:default@GenerateLoaderJson... after 98 ms
hvigor WARN: Warning: The width or height of the png file referenced by the startWindowIcon exceeds the limit (144 pixels)
at E:\SVN\fronterProjects\CzxProject\HarmonyMYZJ\unpackage\debug\app-harmony-b82962ff\AppScope\resources\base\media\startIcon.pnghvigor Finished :entry:default@CompileResource... after 1 s 261 ms
hvigor Finished :entry:default@BuildJS... after 6 ms
hvigor Finished :entry:default@ProcessLibs... after 2 s 364 ms
hvigor UP-TO-DATE :entry:default@DoNativeStrip...
hvigor UP-TO-DATE :entry:default@CacheNativeLibs...
hvigor ERROR: Failed :entry:default@CompileArkTS...
hvigor ERROR: Unexpected token (Note that you need plugins to import files that are not JavaScript)
\?\E:\SVN\fronterProjects\CzxProject\HarmonyMYZJ\unpackage\debug\app-harmony-b82962ff\oh_modules.ohpm\@dcloudio+uni-app-runtime@sd+0ftqkd0cwjnnvnemdkpddwdocipvoq4yjtv7cxi4=\oh_modules\@dcloudio\uni-app-runtime\src\main\ets\uni-mp-sdk\components\ImagePreviewer.ets:1
1 WARN: ArkTS:WARN File: E:/SVN/fronterProjects/CzxProject/HarmonyMYZJ/unpackage/debug/app-harmony-b82962ff/oh_modules/.ohpm/@dcloudio+uni-app-runtime@sd+0ftqkd0cwjnnvnemdkpddwdocipvoq4yjtv7cxi4=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uts.ets:20:39
Usage of 'ESObject' type is restricted (arkts-limited-esobj)
1 个回复
coderH
兄弟解决没有 我也遇到了相同的问题,使用的cli创建的项目