작성
·
97
0
(node:49559) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
설치할 때 터미널에 이러한 오류가 발생해서 시키는대로 node --trace-deprecation
를 입력했더니 아래 처럼 뜹니다.
그냥 무시해도 되겠죠?
➜ threads git:(master) ✗ node --trace-deprecation
Welcome to Node.js v22.9.0.
Type ".help" for more information.
> punycode
{
version: '2.1.0',
ucs2: { decode: [Function: ucs2decode], encode: [Function: ucs2encode] },
decode: [Function: decode],
encode: [Function: encode],
toASCII: [Function: toASCII],
toUnicode: [Function: toUnicode]
}
> (node:51239) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
at node:punycode:3:9
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:399:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:338:10)
at loadBuiltinModule (node:internal/modules/helpers:108:7)
at Module._load (node:internal/modules/cjs/loader:1099:17)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1339:12)
at get (node:internal/modules/helpers:223:33)
at REPL1:1:1
답변 1
0
warning은 해결 안 하셔도 됩니다. 해결하기엔 너무 많이 뜹니다. 그리고 저 경고는 라이브러리 중에 일부가 punycode를 쓰고있는 것이라 그 라이브러리를 제거하지 않는 한 해결이 어렵습니다... ㅎㅎ