#Trying to upload file from windows to gcloud bucket

9 messages · Page 1 of 1 (latest)

acoustic tree
#

I am trying to get a file path from electron and upload that file to gcloud bucket but i keep getting:
Failed to execute 'fetch' on 'Window': Failed to read the 'signal' property from 'RequestInit': Failed to convert value to 'AbortSignal'.
It worked with normal node JS but when i try to do it with electron it throws this error

gleaming dust
#

Its doesn't looks like nodejs console

#

Or main process console

acoustic tree
gleaming dust
#

So you trying to use nodejs library in browser?

#

This library support it?

acoustic tree
#

html has an upload button on click it goes to the fucntion in js which basically uploads to google bucket

gleaming dust
#

gaxios able to work in browser?

acoustic tree
#

am not really sure, just got here following tutorials and guides online, any idea what the error means?