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

chore: update deps, fix prisma client #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ggcaponetto
Copy link

@ggcaponetto ggcaponetto commented Jul 24, 2024

Couldn't get the starter kit running. Followed the instructions step by step.

abc@romantic-employee-ytelkx-0:~/workspace/repo$ history
    3  npm install
    4  npx prisma init
    5  npx prisma db pull
    6  npx prisma generate
    7  npm run build
    8  npm run dev

After generating the schema.prisma and setting the DATABASE_URL i got the follwing errors:

  1. import { PrismaClient, multi_asset } from "@prisma/client"; Here multi_asset is not exported. So i tried to update the prisma package.
  2. tsc complaining that src/dataSources/assetsDataSource.ts:31:13 - error TS2322: Type '{ ma_tx_mint: true; }' is not assignable to type 'never'.

I am a newbie and was just trying to get this to run but I might have deleted something I should not.

After this changes I managed to run npm run build && npm run dev and I was able to query a policy id.

chore:rm schema.prima

chore:rm schema.prima
@ggcaponetto ggcaponetto changed the title chore:updat deps, fixed prima client chore:updat deps, fixed prisma client Jul 24, 2024
@ggcaponetto ggcaponetto changed the title chore:updat deps, fixed prisma client chore: update deps, fix prisma client Jul 24, 2024
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

Successfully merging this pull request may close these issues.

1 participant