Skip to content

Unable to load native binding qwik.linux-x64-gnu.node #7402

Closed
@Nefcanto

Description

@Nefcanto

This is my Dockerfile to create a node-based image with dependencies installed:

FROM node:lts-bookworm-slim

RUN sed -i 's/^Components: main$/& contrib non-free-firmware/' /etc/apt/sources.list.d/debian.sources

ENV PATH="${PATH}:/Commands/SiteContainer:/Commands"

RUN npm install -g depcheck \
    && npm install -g lighthouse

COPY . /Site

RUN cd /Site \
    && rm -rf package-lock.json \
    && npm install --legacy-peer-deps \
    && mkdir /npm \
    && mv /Site/node_modules /npm \
    && rm -rf /Site

But now I get this error when I start a container from this image:

Unable to load native binding qwik.linux-x64-gnu.node. Falling back to wasm build. /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /npm/node_modules/@builder.io/qwik/bindings/qwik.linux-x64-gnu.node)
using deprecated parameters for the initialization function; pass a single object instead

What should I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions