tact icon indicating copy to clipboard operation
tact copied to clipboard

Fix `MaxListenersExceededWarning` warning observed when running tests on macOS

Open anton-trunov opened this issue 1 year ago • 2 comments

...
💼 Compiling project wallet-opt...
   > 👀 Enabling inline
   > Wallet: tact compiler
   > Wallet: func compiler
(node:513) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
   > Wallet: fift decompiler
   > Packaging
   > Wallet
   > Bindings
   > Wallet
   > Reports
   > Wallet
...

anton-trunov avatar Feb 29 '24 10:02 anton-trunov

The problem is somewhere inside of the func compiler used by Tact

Gusarich avatar Sep 20 '24 09:09 Gusarich

@Gusarich I'm wondering if this can be replicated with @ton-community/func-js since we basically re-use a wasm build of FunC. We could create an issue there and see if someone resolves it for us :)

anton-trunov avatar Sep 23 '24 09:09 anton-trunov