3👍
Error call stack implies that this happen in Vue loader when parsing TypeScript configuration when transforming <script lang="ts">
block.
It’s most likely a real syntax error in .json file. Unfortunately, file location isn’t mentioned and this needs to be debugged. Since this happens on TypeScript initialization, the problem is in tsconfig.json or associated file.
There’s no need for a separate json5-jest
transformer for .json, it can be handled by TypeScript and Babel, and providing JSON5 with .json extension would be a mistake that would cause a problem like this one.
Source:stackexchange.com