tiziodiquartiere
AAlokai
•Created by tiziodiquartiere on 2/29/2024 in #🙋|general-help
I can't create Magento SDK
I followed this documentation for Magento integration: https://docs.vuestorefront.io/integrations/magento/getting-started/quick-start
After i've installed sdk package, magento module and created SDK file, i get the following error for magentoModule imported from @vue-storefront/magento-sdk
Argument of type '(options: ModuleOptions) => MagentoModuleType' is not assignable to parameter of type 'ModuleInitializer<MagentoModuleType, object>'.
Types of parameters 'options' and 'options' are incompatible.
Type 'object | undefined' is not assignable to type 'ModuleOptions'.
Type 'undefined' is not assignable to type 'ModuleOptions'.ts(2345)
I'm using the following dependencies:
"@vue-storefront/sdk": "^1.3.2",
"@vue-storefront/magento-sdk": "^2.1.0",
Could you help me understand where the error is?1 replies