Slim B.
Slim B.
AAlokai
Created by Slim B. on 12/24/2024 in #🙋|general-help
[Odoo] Upgrade the integration example to suit the new vsf `nuxt-started` structure and changes
Hi again @Diogo Duarte, Thank you for being responsive, I see that the example project is not actually structured like the vsf nuxt-started project and I am still confusing on how to use the integration on a new template so we don't have to stick to eventually deprecated version. I would be happy to help doing that if there is guidance but the official docs and odoo integration ones aren't clear enough. So I wonder if there is something not clear for me or it is better to restart from scratch the integration or collaborate together on that.
6 replies
AAlokai
Created by Slim B. on 12/23/2024 in #🙋|general-help
BUG: [Odoo] Running the Middleware as described by the new Doc
Hello @Diogo Duarte , First I want to thank you for the Odoo integration. I was able to run it via the docker example but it is just an example with no clear how to do it with newer versions and latest docs. So after reading the full documentation and watched the available videos and looked at all available code, I was not able to find the correct manner to configure and make Odoo work with the storefront. * Is Odoo still supported by the same latest starter project and the documentation guide ? Is there any constraints to add to the Readme ? * What is(are) the official repo(s) ? Are they the one hosted on the erpgap org. or the vue-storefront one ? Here is the bug while making a request to the middleware:
INFO] 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
INFO] 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
Thank you again and hope we understand the project and contribute to it.
3 replies