When I run the demo command npm start -- inject DemoApplication.exe Bootstrapper\build\Release\Bootstrapper.dll RuntimePatcher\dist\RuntimePatcher.runtimeconfig.json RuntimePatcher\dist\RuntimePatcher.dll "RuntimePatcher.Main, RuntimePatcher" "InitializePatches"
I get below error
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\chuchong\source\repos\net-core-injector-master\node_modules\frida\build\src\frida.js from C:\Users\chuchong\source\repos\net-core-injector-master\src\main.ts not supported.