I am created a async function in functions.js and I am going to use that in other components. However, when I use the function directly. It will keep showing "Uncaught