Skip to content
New issue

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

Module '"next-shopify"' has no exported member 'handleShopifyStorefront'.ts #15

Open
outdatedx opened this issue Jun 2, 2022 · 0 comments

Comments

@outdatedx
Copy link

While building a template file for my future projects I found this error

// next-shopify-template\src\pages\api\shopify\[...storefront].ts

import { handleShopifyStorefront } from "next-shopify";

// be sure to add the correct env variables.

export default handleShopifyStorefront({
  domain: process.env.NEXT_PUBLIC_SHOPIFY_DOMAIN as string,
  storefrontAccessToken: process.env.SHOPIFY_STOREFRONT_ACCESS_TOKEN as string,
});

like in the docs giving I created a API endpoint for shopify store front it says that handelShopifyStorefront is not an exported module which is true after I looked through the source files is there a work around to this or a fix?

thanks I'm kinda of a newbie to React and Next and the frameworks in general so please dont mind me ty!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant