You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm run build
> [email protected] build
> npx prisma generate && next build
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (4.8.0 | library) to ./node_modules/@prisma/client in 41ms
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
(node:47140) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
info - Loaded env from /Users/voxel/Git/Wildberries/Temp/sentrydiscord.dev/.env
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
info - Linting and checking validity of types .Failed to compile.
./lib/message.ts:21:7
Type error: Argument of type '{ name: string; iconURL: string; }' is not assignable to parameter of type 'EmbedFooterOptions'.
Object literal may only specify known properties, and 'name' does not exist in type 'EmbedFooterOptions'.
19 | })
20 | .setFooter({
> 21 | name: "Please consider sponsoring us!",
| ^
22 | iconURL: "https://sentrydiscord.dev/sponsor.png",
23 | })
24 | .setTimestamp(parser.getTime(event))
The text was updated successfully, but these errors were encountered:
That sounds like an issue with the discord.js version - you might have to double check you've installed the right one. Closing out since this works on the main website though
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
The text was updated successfully, but these errors were encountered: