-
Hi, I'm trying to use build script "next build && next export", because I want to build an HTML version of react-storefront in production, but failed, can someone share some details? |
Beta Was this translation helpful? Give feedback.
Answered by
typeofweb
Feb 3, 2023
Replies: 1 comment
-
Make sure you have installed dependencies and they are the exact same versions that we have pinned in package.json: pnpm i --frozen-lockfile Let me know if that fixes the TypeScript error for you! However, due to Next.js limitations, you will not be able to run |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
typeofweb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure you have installed dependencies and they are the exact same versions that we have pinned in package.json:
Let me know if that fixes the TypeScript error for you!
However, due to Next.js limitations, you will not be able to run
next export
.