You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are closing this issue because we did not hear back regarding additional details we needed to resolve this issue. If the issue persists and you are able to provide the missing clarification we need, feel free to respond and reopen this issue.
We appreciate your understanding as we try to manage our number of open issues.
Issue summary
iam making the shopify app using shopify cli 3.0. all goes well but after installation, the app get crash because of failed api call
i have checked the logs its returning error following error
Cannot find module '/var/task/node_modules/@shopify/shopify-api/dist/rest-resources/2022-07/index.js
as in api we are calling this
const { Product } = await import(
@shopify/shopify-api/dist/rest-resources/${Shopify.Context.API_VERSION}/index.js
);
const countData = await Product.count({ session });
res.status(200).send(countData);
Expected behavior
it should get get the product object and return me the count for of my products
Specifications
The text was updated successfully, but these errors were encountered: