TS ์ค๋ฅ[TS2792]
../../../../../node_modules/@types/babel__core/index.d.ts:2:31 - error TS2792: Cannot find module '@babel/parser'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
2 import { ParserOptions } from "@babel/parser";
~~~~~~~~~~~~~~~
../../../../../node_modules/@types/babel__core/index.d.ts:5:20 - error TS2792: Cannot find module '@babel/types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
5 import * as t from "@babel/types";
~~~~~~~~~~~~~~
../../../../../node_modules/@types/babel__core/index.d.ts:10:52 - error TS2792: Cannot find module '@babel/parser'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
10 export type ParseResult = ReturnType<typeof import("@babel/parser").parse>;
~~~~~~~~~~~~~~~
../../../../../node_modules/@types/babel__generator/index.d.ts:1:20 - error TS2792: Cannot find module '@babel/types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
1 import * as t from "@babel/types";
~~~~~~~~~~~~~~
../../../../../node_modules/@types/babel__template/index.d.ts:1:31 - error TS2792: Cannot find module '@babel/parser'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
1 import { ParserOptions } from "@babel/parser";
~~~~~~~~~~~~~~~
../../../../../node_modules/@types/babel__template/index.d.ts:2:48 - error TS2792: Cannot find module '@babel/types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
2 import { Expression, Program, Statement } from "@babel/types";
~~~~~~~~~~~~~~
../../../../../node_modules/@types/babel__traverse/index.d.ts:1:20 - error TS2792: Cannot find module '@babel/types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
1 import * as t from "@babel/types";
~~~~~~~~~~~~~~
../../../../../node_modules/@types/babel__traverse/index.d.ts:361:28 - error TS2536: Type '"type"' cannot be used to index type 'T'.
361 type: T extends Node ? T["type"] : T extends null | undefined ? undefined : Node["type"] | undefined;
~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:6:76 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
6 type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request;
~~~~~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:7:77 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
7 type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response;
~~~~~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:8:77 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
8 type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData;
~~~~~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:9:76 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
9 type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers;
~~~~~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:11:14 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
11 : import("undici-types").RequestInit;
~~~~~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:13:14 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
13 : import("undici-types").ResponseInit;
~~~~~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:354:25 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
354 : typeof import("undici-types").Request;
~~~~~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:363:25 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
363 : typeof import("undici-types").Response;
~~~~~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:370:25 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
370 : typeof import("undici-types").FormData;
~~~~~~~~~~~~~~
../../../../../node_modules/@types/node/globals.d.ts:377:25 - error TS2792: Cannot find module 'undici-types'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
377 : typeof import("undici-types").Headers;
~~~~~~~~~~~~~~
Found 18 errors in 5 files.
Errors Files
3 ../../../../../node_modules/@types/babel__core/index.d.ts:2
1 ../../../../../node_modules/@types/babel__generator/index.d.ts:1
2 ../../../../../node_modules/@types/babel__template/index.d.ts:1
2 ../../../../../node_modules/@types/babel__traverse/index.d.ts:1
10 ../../../../../node_modules/@types/node/globals.d.ts:6
ํด๊ฒฐ =>
{
"compilerOptions": {
"moduleResolution": "node",
"target": "ES2016",
"noEmitOnError": true,
"strict": true,
}
}
"moduleResolution": "node" ์ด๊ฑฐ๋ฅผ ์ถ๊ฐํด์ฃผ๋ฉด ๋๋ค.
์ฐธ๊ณ ์๋ฃ
'CS ์ง์, IT์ง์, ๊ธฐํ์ง์ > ๋งฅ ๋ค๋ฃจ๊ธฐ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
JDK ๋ฒ์ ๋ฐ๊พธ๊ธฐ ( + ๋ํดํธ๋ก ๋ฐ๊พธ๊ธฐ) (0) | 2023.12.27 |
---|---|
๋งฅ๋ถ๋ ๋ถํ ์ฐฝ์ ํด๋ณด์! (0) | 2023.12.20 |
homebrew (0) | 2023.12.12 |
์ฌ์ฉ์ ๊ถํ ์ ์ ๋ณ๊ฒฝ (0) | 2023.12.11 |
visual studio ๋งฅ๋จ์ถํค, ๋ธ๋ผ์ฐ์ ์ฐฝ๋ ์ ์ฉ (1) | 2023.11.20 |
๋๊ธ