dokar3 / quickjs-kt

A QuickJS binding for idiomatic Kotlin, with Async/DSL/ES Modules support.
Apache License 2.0
31 stars 3 forks source link

com.dokar.quickjs.QuickJsException: TypeError: not a function #110

Open TelephoneTan opened 3 weeks ago

TelephoneTan commented 3 weeks ago

can't know what is not a function, how can I fix it if I don't know the variable or the function name?

dokar3 commented 3 weeks ago

I'm not sure if this is possible to fix since 'TypeError: not a function' comes from the engine.

TelephoneTan commented 3 weeks ago

I searched the code, it seems that this error message comes from this library, there are some string literals look exactly the same as this error message in the code.

dokar3 commented 3 weeks ago

The location? I don't really have an impression of this.