mina
mina
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
hi @Brody and @jr, did you get a chance to look into this one?
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
Thanks @Brody hope all is ok
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
thanks @Brody
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
Here is the complete build logs
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
hey @Brody So regarding the issue, here are some more details. Nix installs libxcrypt which requires glibc. But the version installed of libxcrypt is not compatible with the glibc version installed. This is the log that is spat out whenever we run a python command or start a python shell and import anything: python: /usr/lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.36' not found (required by /nix/store/jx3kvf6mk8qdaw30dbpngwmgm4p23xdb-libxcrypt-4.4.36/lib/libcrypt.so.2)
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
+ @Arnold
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
This is why I was asking on #📦|nixpacks didn’t want to confuse the support team. Mostly OSS question.
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
Flightcontrol
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
Yes
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
But will get you the build logs
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
This is not a railway app @Brody
24 replies
RRailway
Created by mina on 12/13/2023 in #✋|help
Python app with outdated GLIBC version
N/A
24 replies
RRailway
Created by mina on 5/1/2023 in #✋|help
Typescript build fails - incorrect type inference
I am getting the same error as NixPacks
54 replies
RRailway
Created by mina on 5/1/2023 in #✋|help
Typescript build fails - incorrect type inference
I was able to reproduce the issue here:
FROM node:18-buster

WORKDIR /app

COPY . /app

RUN npm install -g corepack && corepack enable
RUN pnpm i --frozen-lockfile

RUN pnpm run build --filter web
FROM node:18-buster

WORKDIR /app

COPY . /app

RUN npm install -g corepack && corepack enable
RUN pnpm i --frozen-lockfile

RUN pnpm run build --filter web
54 replies
RRailway
Created by mina on 5/1/2023 in #✋|help
Typescript build fails - incorrect type inference
18.12 builds fine outside NixPacks
54 replies
RRailway
Created by mina on 5/1/2023 in #✋|help
Typescript build fails - incorrect type inference
But as @alex mentioned, I do not think it is a node verion
54 replies
RRailway
Created by mina on 5/1/2023 in #✋|help
Typescript build fails - incorrect type inference
would that bring a new Node version @jr, I can try it
54 replies
RRailway
Created by mina on 5/1/2023 in #✋|help
Typescript build fails - incorrect type inference
exactly, it something very odd and does not make sense
54 replies
RRailway
Created by mina on 5/1/2023 in #✋|help
Typescript build fails - incorrect type inference
here is the error:
#13 2.761 web:build: info - Linting and checking validity of types...
#13 14.64 web:build: Failed to compile.
#13 14.64 web:build:
#13 14.64 web:build: ./pages/menu/[restaurant].tsx:74:81
#13 14.64 web:build: Type error: Property 'id' does not exist on type '{ readonly content: readonly { readonly locale: "en" | "he"; readonly name: string; readonly description: Option<string>; }[]; readonly modifiers: readonly {}[]; }'.
#13 14.64 web:build:
#13 14.64 web:build: 72 | <Category.Section key={category.id} category={category}>
#13 14.64 web:build: 73 | <Category.Items>
#13 14.64 web:build: > 74 | {category.categoryItems.map((ci) => <Category.Item key={ci.item.id} item={ci} />)}
#13 14.64 web:build: | ^
#13 14.64 web:build: 75 | </Category.Items>
#13 14.64 web:build: 76 | </Category.Section>
#13 14.64 web:build: 77 | ))}
#13 14.81 web:build:  ELIFECYCLE  Command failed with exit code 1.
#13 14.83
#13 14.83 Tasks: 1 successful, 2 total
#13 14.83 Cached: 0 cached, 2 total
#13 14.83 Time: 14.374s
#13 14.83
#13 14.83 web:build: ERROR: command finished with error: command (/app/apps/web) pnpm run build exited (1)
#13 14.83 command (/app/apps/web) pnpm run build exited (1)
#13 14.83 ERROR run failed: command exited (1)
#13 14.84  ELIFECYCLE  Command failed with exit code 1.
#13 2.761 web:build: info - Linting and checking validity of types...
#13 14.64 web:build: Failed to compile.
#13 14.64 web:build:
#13 14.64 web:build: ./pages/menu/[restaurant].tsx:74:81
#13 14.64 web:build: Type error: Property 'id' does not exist on type '{ readonly content: readonly { readonly locale: "en" | "he"; readonly name: string; readonly description: Option<string>; }[]; readonly modifiers: readonly {}[]; }'.
#13 14.64 web:build:
#13 14.64 web:build: 72 | <Category.Section key={category.id} category={category}>
#13 14.64 web:build: 73 | <Category.Items>
#13 14.64 web:build: > 74 | {category.categoryItems.map((ci) => <Category.Item key={ci.item.id} item={ci} />)}
#13 14.64 web:build: | ^
#13 14.64 web:build: 75 | </Category.Items>
#13 14.64 web:build: 76 | </Category.Section>
#13 14.64 web:build: 77 | ))}
#13 14.81 web:build:  ELIFECYCLE  Command failed with exit code 1.
#13 14.83
#13 14.83 Tasks: 1 successful, 2 total
#13 14.83 Cached: 0 cached, 2 total
#13 14.83 Time: 14.374s
#13 14.83
#13 14.83 web:build: ERROR: command finished with error: command (/app/apps/web) pnpm run build exited (1)
#13 14.83 command (/app/apps/web) pnpm run build exited (1)
#13 14.83 ERROR run failed: command exited (1)
#13 14.84  ELIFECYCLE  Command failed with exit code 1.
54 replies
RRailway
Created by mina on 5/1/2023 in #✋|help
Typescript build fails - incorrect type inference
54 replies