Hi @yeykawb, Welcome to the Astro Community, Glad to see you using the Astro CLI, and Sorry for the issue you are experiencing.
Can you try the solution mentioned in this thread and let us know if this works for you? OS was Ubuntu as well in this case.
Hope this helps!
Regards,
Akash Laddha