Skip to content

recent update to Alpine Images breaks Node/NPM #537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ZARk-be opened this issue Feb 7, 2025 · 5 comments
Open

recent update to Alpine Images breaks Node/NPM #537

ZARk-be opened this issue Feb 7, 2025 · 5 comments

Comments

@ZARk-be
Copy link

ZARk-be commented Feb 7, 2025

Hello

All of a sudden our ci/cd stopped working.

FROM webdevops/php-nginx:8.3-alpine
RUN apk add --no-cache bash npm

with node clearly missing a lib

20 [stage-0 14/16] RUN npm install
#20 0.212 Error relocating /usr/bin/node: sqlite3session_attach: symbol not found
#20 0.212 Error relocating /usr/bin/node: sqlite3changeset_apply: symbol not found
#20 0.212 Error relocating /usr/bin/node: sqlite3session_create: symbol not found
#20 0.212 Error relocating /usr/bin/node: sqlite3session_changeset: symbol not found
#20 0.213 Error relocating /usr/bin/node: sqlite3session_patchset: symbol not found
#20 0.213 Error relocating /usr/bin/node: sqlite3session_delete: symbol not found

adding sqlite-dev packages fixed the issue. But i guess it should have been pulled automatically by node ?

@rikkoiglu
Copy link

Jep, having the same problem.

@rotem925
Copy link

We're having the same issue exactly with the latest dev image.

@DimaMinka
Copy link

same issue with FROM webdevops/php-nginx:8.1-alpine

@mbu-redlink
Copy link

same issue with FROM webdevops/php-nginx-dev:8.1-alpine

@DimaMinka
Copy link

With the APK upgrade working well, we will use this solution for the moment.

RUN apk update && apk upgrade && apk add --no-cache nodejs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants