Cocos creator 3.2.1 failed to import JSON file

Hi all, I am getting strange error when importing .json into my script:
I added necessary options to the tsconfig.json file:
image
then I created an json and trying to import it:
image
image

but in editor I see this error:
Failed to load module file:///D:/game/assets/scripts/common/config/jsons/merge_chains.json: SyntaxError: unknown: Missing semicolon (2:7)

I can ask engineering to have a look.

No solution for now, we will continue

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.