Skip to content
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

Error when run npx prisma db pull with DeepinOS 20.9GNU/LInux #19157

Open
babually opened this issue May 9, 2023 · 4 comments
Open

Error when run npx prisma db pull with DeepinOS 20.9GNU/LInux #19157

babually opened this issue May 9, 2023 · 4 comments
Labels
kind/improvement An improvement to existing feature and code. team/client Issue for team Client. team/schema Issue for team Schema. topic: engine download topic: engine topic: os detection

Comments

@babually
Copy link

babually commented May 9, 2023

Bug description

HI there, I'm using Deepin OSas my primary OS fro develepment but i got an error when using Prisma. I got this error many times:

prisma:warn Prisma doesn't know which engines to download for the Linux distro "deepin". Falling back to Prisma engines built "debian".
Please report your experience by creating an issue at https://github.com/prisma/prisma/issues so we can add your distro to the list of known supported distros.
Prisma schema loaded from prisma/schema.prisma
Environment variables loaded from .env
Datasource "db": PostgreSQL database "todo-trpc", schema "public" at "localhost:6500"

⠋ Introspecting based on datasource defined in prisma/schema.prismaprisma:warn Prisma doesn't know which engines to download for the Linux distro "deepin". Falling back to Prisma engines built "debian".
Please report your experience by creating an issue at https://github.com/prisma/prisma/issues so we can add your distro to the list of known supported distros.
✖ Introspecting based on datasource defined in prisma/schema.prisma

Can you help to fix this bug from Prisma..! Thak you

How to reproduce

Expected behavior

No response

Prisma information

prisma:warn Prisma doesn't know which engines to download for the Linux distro "deepin". Falling back to Prisma engines built "debian"

Environment & setup

  • OS: DeepinOS 20.9
  • Database: <!--[PostgreSQL,
  • Node.js version: 18

Prisma Version


prisma: 4.14.0

@babually babually added the kind/bug A reported bug. label May 9, 2023
@Jolg42
Copy link
Member

Jolg42 commented May 10, 2023

Hi @babually,

So this is only a warning message but I think everything should work normally since https://en.wikipedia.org/wiki/Deepin is based on Debian?

If so, we could silence this warning if we detect Deepin in the future.

@Jolg42 Jolg42 added kind/improvement An improvement to existing feature and code. team/schema Issue for team Schema. team/client Issue for team Client. topic: engine download and removed kind/bug A reported bug. labels May 10, 2023
@spcbfr
Copy link

spcbfr commented May 10, 2023

@Jolg42 I am getting a very similar warning on PopOS. everything is working here, so if we could get rid of warning that would be amazing

prisma:warn Prisma doesn't know which engines to download for the Linux distro "org.freedesktop.platform". Falling back to Prisma engines built "debian"

@Jolg42
Copy link
Member

Jolg42 commented May 10, 2023

Note: cat /etc/os-release looks like

For Deepin
https://github.com/linuxdeepin/wiki.deepin.org/blob/57757edc7e78084121081107d6aa5265a7aef5b5/en/About_Deepin/Deepin_FAQ.md?plain=1#L16

    PRETTY_NAME="Deepin 20.6"
    NAME="Deepin"
    VERSION_ID="20.6"
    VERSION="20.6"
    VERSION_CODENAME="apricot"
    ID=Deepin
    HOME_URL="https://www.deepin.org/"
    BUG_REPORT_URL="https://bbs.deepin.org/"    

For PopOS (from pop-os/pop#2887)

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com/"
SUPPORT_URL="https://support.system76.com/"
BUG_REPORT_URL="[https://github.com/pop-os/pop/issues](https://github.com/pop-os/pop/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

@janpio janpio changed the title Error when run "npx prisma db pull" DeepinOS 20.9GNU/LInux Error when run npx prisma db pull with DeepinOS 20.9GNU/LInux May 17, 2023
@cnikolov
Copy link

how can i get rid of the warning got the pop os as mentioned above by @Jolg42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement An improvement to existing feature and code. team/client Issue for team Client. team/schema Issue for team Schema. topic: engine download topic: engine topic: os detection
Projects
None yet
Development

No branches or pull requests

5 participants