Doing this
$ git clone https://github.com/frida/frida-java-bridge.git
$ cd frida-java-bridge
$ npm install
$ npm link
And then
$ git clone https://github.com/oleavr/frida-agent-example
$ cd frida-agent-example
$ npm install
$ npm link frida-java-bridge
And then
npm run build
Gives
> frida-compile agent/index.ts -o _agent.js -c
agent\index.ts:3:18 - error TS-1: Cannot read file "node_modules/frida-java-bridge": Incorrect function.
Compilation failed
This was on Windows 11.
Doing this
And then
And then
npm run buildGives
This was on Windows 11.