Skip to content

Type error Scalars["Uuid"]["output"] #266

@christoph-maurer

Description

@christoph-maurer
156.7 ✔ Generate outputs
157.5 Attention: Next.js now collects completely anonymous telemetry regarding usage.
157.5 This information is used to shape Next.js' roadmap and prioritize features.
157.5 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
157.5 https://nextjs.org/telemetry
157.5 
157.5 ▲ Next.js 16.2.6 (Turbopack)
157.5 - Experiments (use with caution):
157.5   ✓ typedEnv
157.5 
157.6   Running TypeScript ...
157.7 
157.7   We detected TypeScript in your project and reconfigured your tsconfig.json file for you.
157.7   The following mandatory changes were made to your tsconfig.json:
157.7 
157.7   	- moduleResolution was set to bundler (to match modern bundler resolution)
157.7 
174.0 Failed to type check.
174.0 
174.0 ./components/Id.tsx:4:49
174.0 Type error: Type 'unknown' is not assignable to type 'ReactNode'.
174.0 
174.0   2 |
174.0   3 | export default function Id({ value }: { value: Scalars["Uuid"]["output"] }) {
174.0 > 4 |   return <code style={{ whiteSpace: "nowrap" }}>{value}</code>;
174.0     |                                                 ^
174.0   5 | }
174.0   6 |
174.1 Next.js build worker exited with code: 1 and signal: null
174.2 error Command failed with exit code 1.
174.2 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
Dockerfile.production:21
--------------------
  19 |     COPY ./ ./
  20 |     COPY --from=dependencies /app/node_modules ./node_modules
  21 | >>> RUN yarn build
  22 |     
  23 |     FROM base AS runtime
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -o errexit -o nounset -o pipefail -c yarn build" did not complete successfully: exit code: 1
make[1]: *** [forge.mk:24: build] Error 1
make[1]: Leaving directory '/home/christoph/Documents/building-envelope-data/bed_lokal/metabase_lokal/development'
make: *** [forge.mk:41: all] Error 2

Metadata

Metadata

Labels

2601Issues for the end of project EQWIN-PISEFraunhofer Institute for Solar Energy Systems ISEtriageReview issue to make sure it is relevant, actionable, and has all the necessary information

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions