We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use a Magento cloud endpoint that supports giftcart products, however when I run yarn build, I receive the following problem.
Type error: Property 'GiftCardProduct' is missing in type '{ Skeleton: (props: SkeletonProps) => EmotionJSX.Element; SimpleProduct: typeof ProductListItem; ConfigurableProduct: typeof ProductListItem; BundleProduct: typeof ProductListItem; VirtualProduct: typeof ProductListItem; DownloadableProduct: typeof ProductListItem; GroupedProduct: typeof ProductListItem; }' but required in type 'ProductListItemRenderer'.
No issue
Step 1: point magentoEndpoint to a Magento Cloud endpoint Step 2: yarn codegen Step 3: yarn build
magentoEndpoint
yarn codegen
yarn build
The text was updated successfully, but these errors were encountered:
In that file can you try adding the following and see if that works.
export const renderer: ProductListItemRenderer = { ...others... GiftCardProduct: ProductListItem, }
If that works, please create a patch for now, we can then investigate how to improve.
Sorry, something went wrong.
No branches or pull requests
Describe the Bug
I use a Magento cloud endpoint that supports giftcart products, however when I run yarn build, I receive the following problem.
Expected Behavior
No issue
To Reproduce
Step 1: point
magentoEndpoint
to a Magento Cloud endpointStep 2:
yarn codegen
Step 3:
yarn build
The text was updated successfully, but these errors were encountered: