-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Reading the database works, but as soon as I try to write any changes, this error occurs
Reproduction URL
https://github.com/Alukkart/colizeum-app
Reproduction steps
1. Go to /admin
2. Select any table
3. Try to edit it
4. See errorNext router
App router
Next Admin version
8.4.2
Screenshots
Next Admin options
Logs
GET /admin/zone/cmk03f4qw0000masbv36wh9rr 200 in 41ms (compile: 7ms, render: 34ms)
⨯ ./node_modules/@premieroctet/next-admin/dist/handlers/resources.mjs:1:1
Module not found: Can't resolve '@prisma/client/runtime/library'
> 1 | import { PrismaClientKnownRequestError, PrismaClientValidationError } from "@prisma/client/runtime/library";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 | import { Permission } from "../types.mjs";
3 | import { hasPermission } from "../utils/permissions.mjs";
4 | import { getDataItem } from "../utils/prisma.mjs";
Import trace:
App Route:
./node_modules/@premieroctet/next-admin/dist/handlers/resources.mjs
./node_modules/@premieroctet/next-admin/dist/appHandler.mjs
./app/api/admin/[[...nextadmin]]/route.tsBrowsers
Firefox
a-faraji, fzaninotto and experimatt
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working