NodeJS Nixpack - GLIBC_2.38 not found
Anonymous
TRIALOP

2 years ago

pnpm install fails on some packages such as @sentry/cli and aws-crt while running their install scripts. It says /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.38' not found`.

Here is a snippet from the logs

8 Replies

Anonymous
TRIALOP

2 years ago

12e6dcd7-5c20-495b-bc51-c55e4971b90e


brody
EMPLOYEE

2 years ago

I think it would be best to move to a Dockerfile based build as you won't have any glib errors with a dockerfile


Anonymous
TRIALOP

2 years ago

that would be a good workaround indeed. but i have so many env vars i'll need to copy over to the dockerfile. i wanted to see if that could be avoided.

as i understand, docker can't just pick up the env vars from railway. i have to redeclare each and everyone.


brody
EMPLOYEE

2 years ago

not true, you would only need to define the variables in your dockerfile that you need during build


Anonymous
TRIALOP

2 years ago

ah so if it's a nextjs application, like in my case, then i only need to declare the NEXT_PUBLIC_ ones probably. thanks, i'll give that a shot


brody
EMPLOYEE

2 years ago

sounds good!


Anonymous
TRIALOP

2 years ago

awesome, it worked. i only needed to declare the NEXT_PUBLIC_ ones indeed. thanks


brody
EMPLOYEE

2 years ago

no problem!


Loading...