Replies: 1 comment 1 reply
-
只是你 tsconfig 不是标准 json,肯定是哪里多了逗号 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem(描述问题)
tsconfig配置如上 添加
后打包会报
Error! You can try adding the -V parameter for more information output.
Error: [ Midway ] Read TsConfig Error
Midway Versions(Midway 版本)
"dependencies": {
"@midwayjs/bootstrap": "^3.12.0",
"@midwayjs/core": "^3.12.0",
"@midwayjs/web": "^3.12.0",
"@midwayjs/decorator": "^3.12.0",
"@midwayjs/logger": "^2.14.0",
"egg": "^2.0.0"
},
"devDependencies": {
"@midwayjs/cli": "^2.0.0",
"@midwayjs/egg-ts-helper": "^1.0.1",
"@midwayjs/mock": "^3.12.0",
"@types/jest": "^29.2.0",
"@types/node": "14",
"cross-env": "^6.0.0",
"egg-mock": "^3.26.0",
"mwts": "^1.3.0",
"jest": "^29.2.2",
"ts-jest": "^29.0.3",
"typescript": "~4.8.0"
},
Beta Was this translation helpful? Give feedback.
All reactions