#Latest create-medusa-app@rc fails to build Storefront

1 messages · Page 1 of 1 (latest)

civic kindle
#
npm run build

> [email protected] build
> next build

  ▲ Next.js 14.2.14
  - Environments: .env.local

   Creating an optimized production build ...
 ✓ Compiled successfully

./src/modules/checkout/components/shipping-address/index.tsx
71:6  Warning: React Hook useEffect has a missing dependency: 'customer.email'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
   Linting and checking validity of types  ...Failed to compile.

./src/lib/data/customer.ts:58:18
Type error: Argument of type 'string | { location: string; }' is not assignable to parameter of type 'string'.
  Type '{ location: string; }' is not assignable to type 'string'.

  56 |     })
  57 |
> 58 |     setAuthToken(loginToken)
     |                  ^
  59 |
  60 |     revalidateTag("customer")
  61 |     return createdCustomer
alpine vector
civic kindle
#

thank you, but all these type errors are expected in the current 2.0 rc phase?

alpine vector