#AwilixResolutionError: Could not resolve 'OrderService'.
21 messages · Page 1 of 1 (latest)
Please do not ping or you will be timed out/banned.
ok
lowercase "orderService"
still An error occurred while processing order.placed: TypeError: Cannot read properties of undefined (reading 'relations')
is not resloved
its "orderService" not "OrderService"
yes after changing it not able to resolve product service to get store_id
const product: Product = await ProductService.retrieve(item.variant.product_id, { select: ['store_id'] });
I'm blind, I don't see the product service and where are you getting it from
I still don't see where are you getting it from and what is not working
import { Product } from "../models/product";
import ProductService from '../services/product';
Please post the full subscriber
Also if you are importing it, then why this
And why don't you resolve it the same way like orderService
sorry i have tried the lower case for orderService it worked ,
when tring the same with product it dnt go well