-
Notifications
You must be signed in to change notification settings - Fork 767
Description
Summary
When building using the api from the 3.21 saleor release, the following error happens:
=> [runner 3/8] RUN adduser --system --uid 1001 nextjs 0.3s
=> [builder 4/5] RUN corepack enable 0.6s
=> ERROR [builder 5/5] RUN pnpm build 12.4s
[builder 5/5] RUN pnpm build:
#0 0.927 ! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.6.0.tgz
#0 4.955
#0 4.955 > [email protected] prebuild /app
#0 4.955 > pnpm run generate
#0 4.955
#0 5.761
#0 5.761 > [email protected] generate /app
#0 5.761 > graphql-codegen --config .graphqlrc.ts
#0 5.761
#0 6.783 [STARTED] Parse Configuration
#0 6.784 [SUCCESS] Parse Configuration
#0 6.784 [STARTED] Generate outputs
#0 6.785 [STARTED] Generate to src/gql/
#0 6.785 [STARTED] Generate to src/gql/documentNodes/
#0 6.880 [STARTED] Load GraphQL schemas
#0 6.880 [STARTED] Load GraphQL schemas
#0 12.13 [SUCCESS] Load GraphQL schemas
#0 12.13 [SUCCESS] Load GraphQL schemas
#0 12.13 [STARTED] Load GraphQL documents
#0 12.13 [STARTED] Load GraphQL documents
#0 12.17 [SUCCESS] Load GraphQL documents
#0 12.17 [STARTED] Generate
#0 12.17 [FAILED] Unknown scalar type Hour. Please override it using the "scalars" configuration field!
#0 12.18 [SUCCESS] Load GraphQL documents
#0 12.18 [STARTED] Generate
#0 12.18 [FAILED] Unknown scalar type Hour. Please override it using the "scalars" configuration field!
#0 12.18 [SUCCESS] Generate outputs
#0 12.22 ELIFECYCLE Command failed with exit code 1.
#0 12.26 ELIFECYCLE Command failed with exit code 1.
Steps to reproduce
- Clone the storefront repo
- Build using the api URL saleor version 3.21 (either docker compose build or pnpm build)
- Cry because you don't understand the error
A link to a reproduction repository
No response
Output from envinfo
No response