NovuN
Novu2y ago
2 replies
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'
}
Was this page helpful?