Skip to content

Error: gl returned null (missing dependencies) #33

@maerics

Description

@maerics

While attempting to run the "kenBurns" example in a Debian docker image (using a node:14-stretch base image) I get the following error:

640x640 25fps
Error: gl returned null, this probably means that some dependencies are not installed. See README.
    at module.exports (/usr/local/lib/node_modules/editly/glTransitions.js:12:11)
    at module.exports (/usr/local/lib/node_modules/editly/index.js:265:36)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async /usr/local/lib/node_modules/editly/cli.js:124:3

For reference, here's the Dockerfile I'm using:

FROM node:14-stretch

RUN apt-get -qq update \
  && apt-get -qq install \
    build-essential \
    libcairo2-dev \
    libpango1.0-dev \
    libjpeg-dev \
    libgif-dev \
    librsvg2-dev \
    libxi-dev \
    libglu1-mesa-dev \
    libglew-dev \
    pkg-config \
    python2.7 \
    python-pip \
    ffmpeg

RUN mkdir -p /opt/node \
  && cd /opt/node \
  && npm install --global --unsafe-perm editly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions