I have the exact same issue when I create a new project with pnpm create rspack. Then I switch to use pnpm create rsbuild, it all works fine. It's probably just some temporary issue with rspack's template.