on().subscribe() - Property 'on' does not exist on type PostgrestQueryBuilder

Hi all, I am new here, I got some problem encountered this day, my on method in realtime supabase cant be detected though I've done npm i supabase and importing the supabase client on my code.

Is anyone can give me clear exlpanation of what should I do or maybe ever encountered same problem? thanks for the insight
image.png
Was this page helpful?