this is my function
async function generateImage() {
try {
const response = await openai.createImage({
prompt: 'a white siamese cat',
n: 1,
size: '1024x1024',
});
console.log(response);
} catch (error) {
console.error(error);
}
}
i am getting this error when using on mobile : Error: URL.search is not implemented
i am really stuck in this one so any help is appreciated
cd /home/user
. – Overdo