Skip to content

Commit 2a1584c

Browse files
committed
fix: Cannot find module '~/prisma/client/runtime/library'
1 parent b46ed97 commit 2a1584c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kun-galgame-nuxt3",
3-
"version": "4.3.37",
3+
"version": "4.3.38",
44
"packageManager": "[email protected]",
55
"private": true,
66
"scripts": {

prisma/prisma.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { PrismaClient } from '@prisma/client'
1+
import { PrismaClient } from './client/client'
22

33
const prismaClientSingleton = () => {
44
return new PrismaClient()

prisma/schema/schema.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
generator client {
22
provider = "prisma-client-js"
3-
// output = "../client"
3+
output = "../client"
44
}
55

66
datasource db {

0 commit comments

Comments
 (0)