Lyonel Pierce
Lyonel Pierce
Explore posts from servers
PPrisma
Created by Lyonel Pierce on 10/3/2024 in #help-and-questions
Prisma pulse TS error.
I installed prisma pulse extension in a new Next.js project. However, I am trying to set my prisma.ts file
import { PrismaClient } from "@prisma/client";
import { withPulse } from "@prisma/extension-pulse";

const prisma = new PrismaClient().$extends(
withPulse({
apiKey: process.env["PULSE_API_KEY"] as string,
})
);

export { prisma };
import { PrismaClient } from "@prisma/client";
import { withPulse } from "@prisma/extension-pulse";

const prisma = new PrismaClient().$extends(
withPulse({
apiKey: process.env["PULSE_API_KEY"] as string,
})
);

export { prisma };
But I am getting error:
Cannot find module '@prisma/extension-pulse' or its corresponding type declarations.ts(2307)
Tried clearing npm cache, uninstall and install the dependency, and removing and installing node_modules.
5 replies
RRailway
Created by Lyonel Pierce on 7/9/2023 in #✋|help
Check Project Directory
I am uploading a file in my spring boot project resources/static folder. But, I am not able to locate that file from the browser. There are no errors in the terminal when uploading files, is there any way to check railway directory of my project to see if the file is saving properly?
5 replies