编译之后报如下错误,有大佬知道怎么解决吗?

[OHOS INFO] Set cache size limit to 100.0 GB
[OHOS WARNING] The target_cpu needs to be specified, default target_cpu=arm
[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR]   File "/home/gong/dianhong/PowerHarmony_PHM_SDK_V1.0.1.0/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR]     return func(*args, **kwargs)
[OHOS ERROR]   File "/home/gong/dianhong/PowerHarmony_PHM_SDK_V1.0.1.0/build/hb/modules/ohos_build_module.py", line 65, in run
[OHOS ERROR]     super().run()
[OHOS ERROR]   File "/home/gong/dianhong/PowerHarmony_PHM_SDK_V1.0.1.0/build/hb/modules/interface/build_module_interface.py", line 64, in run
[OHOS ERROR]     self._preload()
[OHOS ERROR]   File "/home/gong/dianhong/PowerHarmony_PHM_SDK_V1.0.1.0/build/hb/modules/ohos_build_module.py", line 79, in _preload
[OHOS ERROR]     self.preloader.run()
[OHOS ERROR]   File "/home/gong/dianhong/PowerHarmony_PHM_SDK_V1.0.1.0/build/hb/services/interface/preload_interface.py", line 46, in run
[OHOS ERROR]     self.__post_init__()
[OHOS ERROR]   File "/home/gong/dianhong/PowerHarmony_PHM_SDK_V1.0.1.0/build/hb/services/preloader.py", line 54, in __post_init__
[OHOS ERROR]     self._subsystem_info = self._get_org_subsystem_info()
[OHOS ERROR]   File "/home/gong/dianhong/PowerHarmony_PHM_SDK_V1.0.1.0/build/hb/services/preloader.py", line 270, in _get_org_subsystem_info
[OHOS ERROR]     subsystem_info = parse_lite_subsystem_config(
[OHOS ERROR]   File "/home/gong/dianhong/PowerHarmony_PHM_SDK_V1.0.1.0/build/hb/util/preloader/parse_lite_subsystems_config.py", line 64, in parse_lite_subsystem_config
[OHOS ERROR]     configs = _read_lite_component_configs(os.path.join(
[OHOS ERROR]   File "/home/gong/dianhong/PowerHarmony_PHM_SDK_V1.0.1.0/build/hb/util/preloader/parse_lite_subsystems_config.py", line 28, in _read_lite_component_configs
[OHOS ERROR]     data = json.load(fin)
[OHOS ERROR]   File "/usr/lib/python3.8/json/__init__.py", line 293, in load
[OHOS ERROR]     return loads(fp.read(),
[OHOS ERROR]   File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
[OHOS ERROR]     return _default_decoder.decode(s)
[OHOS ERROR]   File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
[OHOS ERROR]     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
[OHOS ERROR]   File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
[OHOS ERROR]     obj, end = self.scan_once(s, idx)
[OHOS ERROR] json.decoder.JSONDecodeError: Expecting ',' delimiter: line 207 column 5 (char 4829)
[OHOS ERROR] 
[OHOS ERROR] Code:      0000
[OHOS ERROR] 
[OHOS ERROR] Reason:    Expecting ',' delimiter: line 207 column 5 (char 4829)
[OHOS ERROR] 
[OHOS ERROR] Solution:  no solution
[OHOS ERROR] 
 

在网上看了好多方法试过也不行,头大,有大佬看看吗,谢谢!

更多推荐