Blob method does not exist in the result
See original GitHub issueHow can I return the result in blob? It seems that .blob() does not exist
- Operating System: `Darwin`
- Node Version: `v16.13.1`
- Nuxt Version: `3.0.0-27319101.3e82f0f`
- Package Manager: `npm@8.1.2`
- Bundler: `Vite`
- User Config: `css`, `watch`, `build`
- Runtime Modules: `-`
- Build Modules: `-`
const {data: banners, refresh: bannersFetcher} = await useAsyncData(
'banners',
async () => {
const banners = await $fetch('/api/mc/banners')
.then((data) => {
return Promise.all(_.map(data, async (banner) => {
const blob = await $fetch(banner.data).then(res => res.blob())
console.log('Hey', blob)
}))
})
// console.log(banners)
return []
}
)
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
I have a custom object. I want to add a blob file in a POST ...
The error when i execute in anonymous window is Method does not exist or incorrect signature: void POST() from the type.
Read more >The specified blob does not exist - Shows in azure browser
The specified blob does not exist - Shows in azure browser - but when I click download does not exist. Save this question....
Read more >Decoding Blob method for the contentversion object through ...
I Developed Rest class as like below.If i run this i am able to get pdf on browser but pdf was not decoding...
Read more >The specified blob does not exist - Robert Greiner
The easiest way around this issue is to make sure the baseAddress property in the CloudBlobClient object starts with https. You should be...
Read more >BlobClientBase Class | Microsoft Learn
This class provides a client that contains all operations that apply to any blob type. This client offers the ability to download blobs....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
File
is not supported by Node: https://developer.mozilla.org/en-US/docs/Web/API/File@frbuceta Apart from Blob support in
ohmyfetch
, the issue you were experiencing is solved if you return a value frommap
.Example.