[Error] Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.
|2024. 3. 11. 19:40
tsconfig.json 파일에서 난 오류.
{
"extends": "@tsconfig/svelte/tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"resolveJsonModule": true,
"allowJs": true,
"checkJs": true,
"isolatedModules": true
},
"include": ["src/**/*.ts", "src/**/*.js", "src/**/*.svelte"],
"references": [{ "path": "./tsconfig.node.json" }]
}
"moduleResolution": "node", 추가로 해결
'에러 모음' 카테고리의 다른 글
TypeError: The "code" argument must be of type number. Received type string ('SIGINT') (0) | 2024.05.10 |
---|---|
백준 runtime error/error: ENOENT: no such file or directory (0) | 2024.05.06 |
[Error] Postgre install error (0) | 2024.05.01 |
[NestJS] req undefined (0) | 2024.02.23 |
'xxx' refers to a value, but is being used as a type here. Did you mean 'typeof xxx' (0) | 2024.02.21 |