vuestorefront / vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
https://www.alokai.com
MIT License
10.59k stars 2.08k forks source link

How to solve this? #6734

Closed soojy closed 2 years ago

soojy commented 2 years ago

I try to use vendure with vsf


 ERROR  [VSF][error]:  [Network error]: TypeError: Only absolute URLs are supported                                                                                             02:29:09  

 ERROR  [VSF][error]:  useUser/load Request failed with status code 500                                                                                                         02:29:09  

  at createError (node_modules\axios\lib\core\createError.js:16:15)
  at settle (node_modules\axios\lib\core\settle.js:17:12)
  at IncomingMessage.handleStreamEnd (node_modules\axios\lib\adapters\http.js:260:11)
  at IncomingMessage.emit (node:events:402:35)
  at endReadableNT (node:internal/streams/readable:1343:12)
  at processTicksAndRejections (node:internal/process/task_queues:83:21)

 ERROR  [VSF][error]:  [Network error]: TypeError: Only absolute URLs are supported                                                                                             02:29:09  

 ERROR  [VSF][error]:  useCart/load Request failed with status code 500                                                                                                         02:29:09  

  at createError (node_modules\axios\lib\core\createError.js:16:15)
  at settle (node_modules\axios\lib\core\settle.js:17:12)
  at IncomingMessage.handleStreamEnd (node_modules\axios\lib\adapters\http.js:260:11)
  at IncomingMessage.emit (node:events:402:35)
  at endReadableNT (node:internal/streams/readable:1343:12)
  at processTicksAndRejections (node:internal/process/task_queues:83:21)

 ERROR  [VSF][error]:  [Network error]: TypeError: Only absolute URLs are supported                                                                                             02:29:09  

 ERROR  [VSF][error]:  useCategory/undefined/search Request failed with status code 500                                                                                         02:29:09  

  at createError (node_modules\axios\lib\core\createError.js:16:15)
  at settle (node_modules\axios\lib\core\settle.js:17:12)
  at IncomingMessage.handleStreamEnd (node_modules\axios\lib\adapters\http.js:260:11)
  at IncomingMessage.emit (node:events:402:35)
  at endReadableNT (node:internal/streams/readable:1343:12)
  at processTicksAndRejections (node:internal/process/task_queues:83:21)

 ERROR  [Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'map')"                                                                           02:29:09  

found in

---> <SfHeader> at node_modules/@storefront-ui/vue/src/components/organisms/SfHeader/SfHeader.vue
       <AppHeader> at components/AppHeader.vue
         <Anonymous>
           <LazyHydrate>
             <DefaultLayout> at layouts/default.vue
               <Root>

What version of Vue Storefront are you using?

2.4.1

Code of Conduct

filipsobol commented 2 years ago

Hi @soojy, which e-commerce integration are you using?

getwebM commented 1 year ago

How do you solve this problem? I have the same error.

nkamuo commented 7 months ago

I also have this issue. Does anybody have a solution.