


[Vue warn]: Hydration node mismatch:
- rendered on server: a.inline-flex.items-center.justify-center.font-medium.text-base.focus-visible:outline.focus-visible:outline-offset.rounded-md.disabled:text-disabled-500.disabled:bg-disabled-300.disabled:shadow-none.disabled:ring-0.disabled:cursor-not-allowed.p-2.gap-2.text-primary-700.hover:bg-primary-100.hover:text-primary-800.active:bg-primary-200.active:text-primary-900.disabled:bg-transparent.text-white.active:text-white.hover:text-white.hover:!bg-neutral-500.active:!bg-transparent
- expected on client: Symbol(v-cmt)
at <SfButton key="Twitter" tag="a" square="" ... >
at <Footer >[Vue warn]: resolveComponent can only be used in render() or setup().integrations: {
magento: {
location: '@vue-storefront/magento-api/server',
extensions: (extensions) => [
...extensions,
{
name: 'extension-name',
extendApiMethods: {
customMethod: async (context, params) => {
const response = await context.client.mutate({
mutation: gql${CUSTOMER_METHOD},
variables,
fetchPolicy: 'no-cache',
context: {
req: context.req,
res: context.res
}
});
}
}
}
],
},
},import { useVSFContext, onSSR } from '@vue-storefront/core';
xport default {
setup() {
const { $magento} = useVSFContext();
onSSR(async () => {
await $magento.api.customMethod({
query: 'test',
limit: 20
})
});
}
}nuxt-startedINFO] 12:25:12 ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.2, typescript ver. 5.5.4)
{"timestamp":"2024-12-23T09:25:13.154Z","severity":"INFO","message":"Middleware starting....","alokai":{"context":"middleware"}}
{"timestamp":"2024-12-23T09:25:13.281Z","severity":"INFO","message":"Middleware created!","alokai":{"context":"middleware"}}
API server listening on port 8181
YOU MUST INSTALL AND CONFIGURE NUXT WINSTON MODULE FROM https://github.com/aaronransley/nuxt-winston-log
Error: YOU MUST INSTALL AND CONFIGURE NUXT WINSTON MODULE FROM https://github.com/aaronransley/nuxt-winston-log
at Object.onCreate (.../nuxt-starter/node_modules/@erpgap/odoo-api/src/setup/clientSetup.ts:14:11)
at Object.createApiClient (.../nuxt-starter/node_modules/@erpgap/odoo-api/node_modules/@vue-storefront/core/src/factories/apiClientFactory/index.ts:26:61)
--- SKIPPED ---
[ERROR] 12:25:17 Error: YOU MUST INSTALL AND CONFIGURE NUXT WINSTON MODULE FROM https://github.com/aaronransley/nuxt-winston-log const { data, errors } = await useSdk().magento.customerCart(customQuery, {
Authorization: `Bearer ${customerToken}`,
});