vfsfitvnm / frida-il2cpp-bridge

A Frida module to dump, trace or hijack any Il2Cpp application at runtime, without needing the global-metadata.dat file.
https://github.com/vfsfitvnm/frida-il2cpp-bridge/wiki
MIT License
974 stars 199 forks source link

Missing ESM imports #269

Closed c01ns closed 1 year ago

c01ns commented 1 year ago

node verison image image

npm run build image

vfsfitvnm commented 1 year ago

Don't use tsc - I've adopted https://github.com/cevek/ttypescript so I could move CModules to their own files (for syntax highlighting, code completion, code formatting...).

You need to call npm run prepare instead (which is equivalent to npm exec ttsc).

However yes, I forgot to append the .js extension when importing those two files (I recently moved to ESM modules).