Open ShaunXenonKhan opened 6 days ago
This issue persists up to v2.0.0-rc.6 for me. I have performed a clean installation of v2.0.0-rc.6 and cannot build a production storefront using the installed starter.
Is this related to my environment? Has anyone else hit this issue yet? Cheers.
Thanks for the report, we are on it!
Bug report
Describe the bug
I am cannot build the Next.js storefront starter included with a clean installation of Medusa. Running
yarn build
from within the storefront folder fails due to type errors. The first error is as follows:I can modify line 58 to
setAuthToken(loginToken as string)
as a workaround. If I do this, the build fails on a subsequent type error.System information
Medusa version (including plugins): 2.0.0-rc.4 with no plugins Node.js version: 21.2.0 Database: PostgreSQL 16.4 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit Operating system: Kubuntu 24.04 Browser (if relevant):
Steps to reproduce the behavior
npx create-medusa-app@rc
yarn start
yarn build
Expected behavior
Storefront build to complete without any issues.