Skip to content

Instantly share code, notes, and snippets.

@faddah
Created October 5, 2024 21:35
Show Gist options
  • Save faddah/4ec8443a05341f7c23414979569c96c4 to your computer and use it in GitHub Desktop.
Save faddah/4ec8443a05341f7c23414979569c96c4 to your computer and use it in GitHub Desktop.
Fly.io Error Log in Deploying Astro app via GitHub Actions
#15 0.894 ▶ Astro collects anonymous usage data.
#15 0.894 This information helps us improve Astro.
#15 0.894 Run "astro telemetry disable" to opt-out.
#15 0.894 https://astro.build/telemetry
#15 0.894
#15 2.391 21:25:27 [types] Generated 406ms
#15 2.400 21:25:27 [check] Getting diagnostics for Astro files in /app...
#15 6.809 src/actions/index.ts:40:21 - warning ts(6133): 'input' is declared but its value is never read.
#15 6.809
#15 6.809 40 orThrow: function (input: FormData): Promise<SafeResult<{ id: number; text: string; good: boolean; }, string>> {
#15 6.809 ~~~~~
#15 6.809 src/actions/index.ts:36:21 - warning ts(6133): 'input' is declared but its value is never read.
#15 6.809
#15 6.809 36 handler: function (input: FormData): Promise<SafeResult<{ id: number; text: string; good: boolean; }, string>> {
#15 6.809 ~~~~~
#15 6.809 src/actions/index.ts:6:11 - warning ts(6196): 'IdeaInput' is declared but never used.
#15 6.809
#15 6.809 6 interface IdeaInput {
#15 6.809 ~~~~~~~~~
#15 6.809
#15 6.919 src/components/callout.astro:7:22 - warning ts(6133): 'iconDescription' is declared but its value is never read.
#15 6.919
#15 6.919 7 const { icon = "👻", iconDescription = "ghost" } = Astro.props;
#15 6.919 ~~~~~~~~~~~~~~~
#15 6.919
#15 7.177 src/layouts/default.astro:13:20 - warning ts(6133): 'pageTitle' is declared but its value is never read.
#15 7.177
#15 7.177 13 const { headTitle, pageTitle, frontmatter }: Props = Astro.props;
#15 7.177 ~~~~~~~~~
#15 7.177 src/layouts/default.astro:5:1 - warning ts(6133): 'Callout' is declared but its value is never read.
#15 7.177
#15 7.177 5 import Callout from "../components/callout.astro";
#15 7.177 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#15 7.177
#15 7.253 src/pages/ideas.astro:55:34 - error ts(2322): Type 'Idea[]' is not assignable to type '{ id: number; text: string; good: boolean; }[]'.
#15 7.253 Property 'id' is missing in type 'Idea' but required in type '{ id: number; text: string; good: boolean; }'.
#15 7.253
#15 7.253 55 <IdeaList title="Bad Ideas 💩" ideas={ideas.filter((idea) => !idea.good)} />
#15 7.253 ~~~~~
#15 7.253 src/pages/ideas.astro:54:35 - error ts(2322): Type 'Idea[]' is not assignable to type '{ id: number; text: string; good: boolean; }[]'.
#15 7.253 Property 'id' is missing in type 'Idea' but required in type '{ id: number; text: string; good: boolean; }'.
#15 7.253
#15 7.253 54 <IdeaList title="Good Ideas 💡" ideas={ideas.filter((idea) => idea.good)} />
#15 7.253 ~~~~~
#15 7.253
#15 7.365 src/pages/holidays/[slug].astro:52:4 - error ts(2322): Type '{ children: string; "transition:name": string; "transition:animate": "initial"; "transitioin:duration": number; }' is not assignable to type 'HTMLAttributes'.
#15 7.365 Property 'transitioin:duration' does not exist on type 'HTMLAttributes'.
#15 7.365
#15 7.365 52 transitioin:duration={300}>
#15 7.365 ~~~~~~~~~~~~~~~~~~~~
#15 7.365 src/pages/holidays/[slug].astro:39:4 - error ts(2322): Type '{ src: string; alt: string; width: "800"; height: "500"; loading: "eager"; "transition:name": string; "transition:animate": "initial"; "transition:durations": number; }' is not assignable to type 'IntrinsicAttributes & Props'.
#15 7.365 Property 'transition:durations' does not exist on type 'IntrinsicAttributes & Props'.
#15 7.365
#15 7.365 39 transition:durations={300}
#15 7.365 ~~~~~~~~~~~~~~~~~~~~
#15 7.365
#15 7.468 Result (18 files):
#15 7.468 - 4 errors
#15 7.468 - 0 warnings
#15 7.468 - 6 hints
#15 7.468
#15 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
------
> [build 5/6] RUN npm run build:
7.365 Property 'transition:durations' does not exist on type 'IntrinsicAttributes & Props'.
7.365
7.365 39 transition:durations={300}
7.365 ~~~~~~~~~~~~~~~~~~~~
7.365
7.468 Result (18 files):
7.468 - 4 errors
7.468 - 0 warnings
7.468 - 6 hints
7.468
------
Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment