Question · Vibe coding with Claude Code course · Module 14: Pinterest clone

Quiz: The Prisma version trap

The agent installed Prisma with npm install prisma, with no version number, and npx prisma generate ends with an error. What do you do?

Answer options

  • You check npx prisma --version and package.json, then install prisma@7 with a version number
  • You switch generation off and import the client straight from @prisma/client
  • You obey the Update available box and install prisma@latest
  • You delete prisma7.config.ts, because the new version does not need it

You can check the correct answer by solving this task in the CodeWorlds game.