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

it take too many effert to run prisma seed for a fresh frontend developer #223

Open
lightnoway opened this issue Jun 5, 2023 · 0 comments

Comments

@lightnoway
Copy link

at the branch "feat/fake-data", file:"prisma/seed.ts"

it take too many effert to run prisma seed for a fresh frontend developer.

There are several problems when run seed:

  • 1 no error output when seed throw
  • 2 the sql uniqe thing error; i write a
    method to fix handleUniqProp(prefix: string, propName: string, factory: () => any) ;
  • 3 the tag name uniqe thing error; i can't figureout what the ruler how tag name keep unique. so comment it

and there's another problem not friendly to fresh front coders:

  • it's a so many years project. if at the readme.md file give some guide about how to ran this project that will be wondeful. guide like run branch "feat/fake-data" with node version v16; run branch main with node version v14(the first time i run this with node@v18, no error out put , sql connected peaseful, but response error when call the api, and no match message through search engine 😱 )

seed copy.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant