Having trouble with installing the frida module (frida-il2cpp-bridge)? I followed the steps, but encountered errors.
You can check out the installation steps here.
The specific error message I received is:
Spawned `com.games`. Resuming main thread!
ReferenceError: 'exports' is not defined
at <anonymous> (/node_modules/frida-il2cpp-bridge/dist/index.js:2)
I've tried multiple installations, but none seem to work. It appears that my tsconfig.json file setting of "module": "commonjs" is not functioning correctly.
After two days of searching on Google, I still haven't been able to solve it. Can anyone offer assistance?
Additional information:
C:\Users\Administrator>node -v
v16.16.0
C:\Users\Administrator>npm -v
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
8.14.0
I've also attempted changing the TypeScript version, but without success.