GithubHelp home page GithubHelp logo

Error running generate about prisma-dart HOT 7 CLOSED

a-paudel avatar a-paudel commented on May 28, 2024
Error running generate

from prisma-dart.

Comments (7)

jacobaraujo7 avatar jacobaraujo7 commented on May 28, 2024

Hello @apaudel96 .
What is package version?

from prisma-dart.

a-paudel avatar a-paudel commented on May 28, 2024

Hi package version is 2.2.2

from prisma-dart.

medz avatar medz commented on May 28, 2024

copied your schema and it doesn't appear on macOS, maybe I need to install an ubuntu system to test.

from prisma-dart.

a-paudel avatar a-paudel commented on May 28, 2024

Ok, so I spun up a couple vms, and can confirm that its probably only a problem with ubuntu.


XUbuntu 22.04 - Bug (What i currently use)
Stock Ubuntu 22.04 - Bug
Debian 11 - Works as expected
Manjaro - Works as expected

from prisma-dart.

medz avatar medz commented on May 28, 2024

@apaudel96
This should be fixed in this PR #32. I created ubuntu:22.04 in Docker and ran the example/sqlite example successfully.

Below is my debug info:

root@0fea44c423ca:/prisma-dart# cd example/sqlite/
root@0fea44c423ca:/prisma-dart/example/sqlite# dart run orm generate
Building package executable... (1.3s)
Built orm:orm.
Generation of "client" succeeded        0.0s

root@0fea44c423ca:/prisma-dart/example/sqlite# dart run
Building package executable...
Built sqlite:sqlite.
{id: cl8e3jsg60000k1qcunwd0v13, task: prisma for dart, done: false, due: 2022-09-25T06:23:13.000Z}

@apaudel96 I need to wait for the branch of clone #32 and run it once to further confirm if it is fixed. I am waiting for you, after you confirm that the bug has been fixed we will merge it into the main branch and release a new version to announce the fix.

from prisma-dart.

a-paudel avatar a-paudel commented on May 28, 2024

@medz Can confirm that #32 works on my computer as well.
Thanks

from prisma-dart.

medz avatar medz commented on May 28, 2024

@medz Can confirm that #32 works on my computer as well. Thanks

@apaudel96 Great, I'll merge #32 and release a new version.

from prisma-dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.