Typescript project cannot find module correctly when moduleResulution setted bundler

What happened?

typescript project with tsconfig moduleResulution setting bundler has issue of cannot find module, the module is sub-directory with index file inside it. the doom config is using lsp with javascript modular without other config modified.

tip: the zed and vscode ide using typescript-language-server can correctly find the module.

What did you expect to happen?

can find the js/ts module correctly.

Steps to reproduce

only open the project normally.