Kar olis
TTCTheo's Typesafe Cult
•Created by Kar olis on 7/7/2024 in #questions
Azure blob storage
Update - managed to fix it. I had error before my file was in storage, thus blobHTTPHeaders was needed after the fix.
I use yarn as package manager and with it installed Azure blob storage. Turns out, problem was with packages (modules). I don't know if it didn't install all packages, they were old version or something else, but I had to:
1) Delete node_modules folder
2) Delete yarn.lock file
3) Run all packages install again (few times)
Thanks for the help and I hope this helps someone 🙂
8 replies
TTCTheo's Typesafe Cult
•Created by Kar olis on 7/7/2024 in #questions
Azure blob storage
I tried that before, but it didn't help. Also, on standalone node app, code worked fine (no MIME errors), so error should be in framework, version or something else. I use blockBlobClient.upload(...), which I believe has x-ms-blob-type defined in library
8 replies
TTCTheo's Typesafe Cult
•Created by Kar olis on 7/7/2024 in #questions
Azure blob storage
I'm still looking for help, but as workaround - sending requests not from library, but in Axios worked. However, not all auth are "supported"
8 replies