Not getting any data from my table

Just started following the guides on the supabase website and got to the part where it shows how to get my data from my tables, but my data variable is empty and error is null. Any ideas what is going on?
import { createClient } from '@supabase/supabase-js';
import { config } from 'dotenv';
config();

const supabaseUrl = process.env.SUPABASE_URL;
const supabaseKey = process.env.SUPABASE_KEY;
const supabase = createClient(supabaseUrl, supabaseKey);

const { data, error } = await supabase.from('test').select();

if (data) console.log('data: \n' + data + '\n');
if (error) console.warn('error: \n' + error + '\n');

Output:
(node:5584) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
data: 
Was this page helpful?