DEV Community

HarmonyOS
HarmonyOS

Posted on

[Smart Watch] [Stage] Single shelf compilation error: hvigor ERROR: Unexpected string in JSON at position 1877

Read the original article:[Smart Watch] [Stage] Single shelf compilation error: hvigor ERROR: Unexpected string in JSON at position 1877

[Smart Watch] [Stage] Single shelf compilation error: hvigor ERROR: Unexpected string in JSON at position 1877

Problem:

Watch frame compilation error:

> hvigor ERROR: Failed :entry: default@CompileArkTS...

> hvigor ERROR: Unexpected string in JSON at position 1877

COMPILE RESULT:FAIL {ERROR:1}

Solution:

Check if the system capability field added in wearable hmos.json is correct

Written by Emine Inan

Top comments (0)