Iconv-lite problem

I’m trying to install and use the iconv-lite nodejs module via npm, but I have one problem.
When I try to use it like “const lpszData: Uint8Array = iconv.encode(str, ‘euc-en’);”, I get an error saying that the file is not found.
“2023-08-10 14:33:55 [PreviewInEditor] Unresolved specifier ./tables/cp949.json”

It seems to be missing in the build process, is there any way to resolve this?

Thanks in advance.