TypeScript error TS5014: Unexpected token u in JSON at position 0

后端 未结 6 961
南方客
南方客 2021-01-07 19:11

I am trying to compile a .ts to .js

I have tsconfig.json as below

{
\"compilerOptions\": {
    \"target\": \"es5\",
    \"module\": \"co         


        
6条回答
  •  梦谈多话
    2021-01-07 19:27

    No need to uninstall tsc, just use npm install typescript at the project root level

提交回复
热议问题