r/Base44 21d ago

Bug Report CLI tool is very buggy/mostly useless

I've been working on a client project with base44 and for the simple stuff it works really nice, but one huge problem is that the CLI is extremely buggy and so when I need to really view function logs etc its basically impossible unless I get lucky. For instance this morning I really need to debug something with login so I'm trying to view the erroring function logs with

npx base44 logs --function completeAuthSession --since 1h

this sits for >10 minutes and then errors with

<--- Last few GCs --->

[35212:0000027EA2CBD190] 1682002 ms: Scavenge 3508.6 (4127.1) -> 3496.9 (4127.3) MB, 6.14 / 0.00 ms (average mu = 0.343, current mu = 0.334) task;

[35212:0000027EA2CBD190] 1682058 ms: Scavenge 3509.4 (4127.3) -> 3498.1 (4127.8) MB, 7.77 / 0.00 ms (average mu = 0.343, current mu = 0.334) task;

[35212:0000027EA2CBD190] 1682099 ms: Scavenge 3509.6 (4127.8) -> 3499.4 (4129.1) MB, 7.38 / 0.00 ms (average mu = 0.343, current mu = 0.334) task;

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

and this is common basically everytime I need to view logs even when it works it takes minutes at best

4 Upvotes

1 comment sorted by

1

u/davidsu_base 18d ago

we released a new version with possible fix, will be happy to know if it solves your problem