Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

docker compose Error: Cannot autolaunch D-Bus without X11 $DISPLAY #224

Open
@alice-zhu

Description

@alice-zhu

i run the node app in docker on win10 pro.
Dockerfile:

FROM node:latest
COPY . /app
WORKDIR /app
RUN apt-get update && apt-get install -y libsecret-1-dev
RUN npm install

when i run the code

const token = await keytar.findPassword('xxx');

error:

(node:1) UnhandledPromiseRejectionWarning: Error: Cannot autolaunch D-Bus without X11 $DISPLAY

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions