PS C:\Main Data\Dev\summoners-view> npx prisma generate Environment variables loaded from .env Prisma schema loaded from prisma\schema.prisma ✔ Generated Prisma Client (v6.12.0) to .\generated\prisma in 146ms Start by importing your Prisma Client (See: https://pris.ly/d/importing-client) Tip: Interested in query caching in just a few lines of code? Try Accelerate today! https://pris.ly/tip-3-accelerate PS C:\Main Data\Dev\summoners-view> ^C PS C:\Main Data\Dev\summoners-view> npm run dev > dev > nuxt dev Nuxt 4.0.1 with Nitro 2.12.4 nuxi 10.53.47 10.53.48 ➜ Local: http://localhost:3000/ ➜ Network: use --host to expose ➜ DevTools: press Shift + Alt + D in the browser (v2.6.2) 10.54.03 ✔ Vite client built in 102ms 10.54.15 ✔ Vite server built in 105ms 10.54.15 ✔ Nuxt Nitro server built in 1519ms nitro 10.54.17 ℹ Vite client warmed up in 3ms 10.54.17 ℹ Vite server warmed up in 56ms 10.54.17 ERROR [request error] [unhandled] [GET] http://localhost:3000/api/champion-data/get-for-user-new 10.54.42 ℹ Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again. ⁃ at new PrismaClient (C:/Main Data/Dev/summoners-view/node_modules/.prisma/client/default.js:43:11) ⁃ at Object.handler (C:/Main Data/Dev/summoners-view/server/api/champion-data/get-for-user-new.ts:16:0) 11 ┃ BigInt.prototype.toJSON = function () { 12 ┃ return Number(this); 13 ┃ }; 14 ┃ 15 ┃ export default eventHandler(async (event) => { ❯ 16 ┃ const prisma = new PrismaClient(); 17 ┃ const user = await serverSupabaseUser(event); 18 ┃ 19 ┃ if (!user) throw new Error("Unauthorized"); 20 ┃ 21 ┃ const unrankedChampData = await prisma.matches.groupBy({ ⁃ (C:/Main Data/Dev/summoners-view/node_modules/h3/dist/index.mjs:1931:43) ⁃ at process.processTicksAndRejections (node:internal/process/task_queues:105:5) ⁃ (async file:///C:/Main%20Data/Dev/summoners-view/node_modules/h3/dist/index.mjs:2003:19) ⁃ at async Object.callAsync (C:/Main Data/Dev/summoners-view/node_modules/unctx/dist/index.mjs:72:16) ⁃ at async Server.toNodeHandle (C:/Main Data/Dev/summoners-view/node_modules/h3/dist/index.mjs:2295:7) [CAUSE] Error { stack: '@prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.\n' + 'at new PrismaClient (C:/Main Data/Dev/summoners-view/node_modules/.prisma/client/default.js:43:11)\n' + 'at Object.handler (C:\\Main Data\\Dev\\summoners-view\\server\\api\\champion-data\\get-for-user-new.ts:16:0)\n' + 'at C:/Main Data/Dev/summoners-view/node_modules/h3/dist/index.mjs:1931:43)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n' + 'at async file:///C:/Main%20Data/Dev/summoners-view/node_modules/h3/dist/index.mjs:2003:19)\n' + 'at async Object.callAsync (C:/Main Data/Dev/summoners-view/node_modules/unctx/dist/index.mjs:72:16)\n' + 'at async Server.toNodeHandle (C:/Main Data/Dev/summoners-view/node_modules/h3/dist/index.mjs:2295:7)', message: '@prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.', } ERROR [request error] [unhandled] [GET] http://localhost:3000/api/champion-data/get-for-user-new