N
Novu•9mo ago
onestyle

Use novu on edge`

I'm trying to tigger notification from vercel adge worker and I'm getting an error that xhr adapter is not available and I can only use http (fetch)
[AxiosError: There is no suitable adapter to dispatch the request since :
- adapter xhr is not supported by the environment
- adapter http is not available in the build] {
message: 'There is no suitable adapter to dispatch the request since :\n- adapter xhr is not supported by the environment\n- adapter http is not available in the build',
name: 'AxiosError',
code: 'ERR_NOT_SUPPORT'
}
[AxiosError: There is no suitable adapter to dispatch the request since :
- adapter xhr is not supported by the environment
- adapter http is not available in the build] {
message: 'There is no suitable adapter to dispatch the request since :\n- adapter xhr is not supported by the environment\n- adapter http is not available in the build',
name: 'AxiosError',
code: 'ERR_NOT_SUPPORT'
}
2 Replies
onestyle
onestyleOP•9mo ago
I ended up making my own simple client using fetch (turning the curl requests in the workflow to fetch based requests 😄 )
Pawan Jain
Pawan Jain•9mo ago
@onestyle We are actively working on this issue
Want results from more Discord servers?
Add your server