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
while running the command npx @premieroctet/next-admin-cli@latest init throws error Schema file "D:\Projects\xyz\prisma\schema.prisma does not exist".
I am using nextjs src directory.
i tried manually setting up the next-admin, but ran into issues.
Note: I added generator to schema.prisma file. ran the generate command too, still the issue persists.
Reproduction URL
notneeded
Reproduction steps
-
Next router
App router
Next Admin version
7.1.0
Screenshots
Next Admin options
import{NextAdmin,PageProps}from"@premieroctet/next-admin";import{getNextAdminProps}from"@premieroctet/next-admin/appRouter";// import { prisma } from "@/prisma";import{dbasprisma}from"@/lib/db";// import "@/styles.css"; // .css file containing tailiwnd rulesimport"@/app/globals.css"exportdefaultasyncfunctionAdminPage({ params, searchParams }: PageProps){// or PromisePageProps for Next 15+constprops=awaitgetNextAdminProps({params: params.nextadmin,
searchParams,basePath: "/admin",apiBasePath: "/api/admin",
prisma,/*options*/});return<NextAdmin{...props}/>;}
Logs
✓ Starting...
✓ Ready in 4.7s
○ Compiling /src/middleware ...
✓ Compiled /src/middleware in 7.6s (1189 modules)
⚠ Fast Refresh had to perform a full reload due to a runtime error.
GET /_next/static/webpack/d4ba8d2ff4150221.webpack.hot-update.json 404 in 9036ms
✓ Compiled in 1622ms (383 modules)
⚠ Fast Refresh had to perform a full reload due to a runtime error.
GET /_next/static/webpack/d4ba8d2ff4150221.webpack.hot-update.json 404 in 133ms
○ Compiling /admin/[[...nextadmin]] ...
⚠ ./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js
Module not found: Can't resolve '.next-admin/schema.json' in 'D:\Projects\cowrite\node_modules\.pnpm\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u\node_modules\@premieroctet\next-admin\dist\utils'Import trace for requested module:./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/appRouter.js./src/app/admin/[[...nextadmin]]/page.tsx ⚠ Fast Refresh had to perform a full reload due to a runtime error. GET /_next/static/webpack/d4ba8d2ff4150221.webpack.hot-update.json 404 in 815ms GET /admin 200 in 11616ms ⨯ Error: Schema not found, make sure you added the generator to your schema.prisma file at getJsonSchema (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js:59:15) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js:62:22) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1227:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/prisma.js:19:65) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/prisma.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1207:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js:9:65) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1217:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) { type: 'Error', page: '/admin'} ⨯ Error: Schema not found, make sure you added the generator to your schema.prisma file at getJsonSchema (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js:59:15) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js:62:22) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1227:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/prisma.js:19:65) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/prisma.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1207:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js:9:65) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1217:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) { type: 'Error', page: '/admin'} ⚠ ./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.jsModule not found: Can't resolve '.next-admin/schema.json'in'D:\Projects\cowrite\node_modules\.pnpm\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u\node_modules\@premieroctet\next-admin\dist\utils'
Import trace for requested module:
./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js
./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js
./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/appRouter.js
./src/app/admin/[[...nextadmin]]/page.tsx
GET /admin 500 in 1467ms
⚠ ./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js
Module not found: Can't resolve '.next-admin/schema.json' in 'D:\Projects\cowrite\node_modules\.pnpm\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u\node_modules\@premieroctet\next-admin\dist\utils'Import trace for requested module:./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/appRouter.js./src/app/admin/[[...nextadmin]]/page.tsx ⚠ Fast Refresh had to perform a full reload due to a runtime error. GET /admin 200 in 2137ms GET /_next/static/webpack/d4ba8d2ff4150221.webpack.hot-update.json 404 in 2237ms ⨯ Error: Schema not found, make sure you added the generator to your schema.prisma file at getJsonSchema (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js:59:15) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js:62:22) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1227:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/prisma.js:19:65) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/prisma.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1207:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js:9:65) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1217:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) { type: 'Error', page: '/admin'} ⨯ Error: Schema not found, make sure you added the generator to your schema.prisma file at getJsonSchema (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js:59:15) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js:62:22) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1227:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/prisma.js:19:65) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/prisma.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1207:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js:9:65) at (rsc)/./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js (D:\Projects\cowrite\.next\server\vendor-chunks\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u.js:1217:1) at __webpack_require__ (D:\Projects\cowrite\.next\server\webpack-runtime.js:33:43) { type: 'Error', page: '/admin'} GET /admin 500 in 1259ms ⚠ ./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.jsModule not found: Can't resolve '.next-admin/schema.json'in'D:\Projects\cowrite\node_modules\.pnpm\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u\node_modules\@premieroctet\next-admin\dist\utils'
Import trace for requested module:
./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js
./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js
./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/appRouter.js
./src/app/admin/[[...nextadmin]]/page.tsx
⚠ ./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js
Module not found: Can't resolve '.next-admin/schema.json' in 'D:\Projects\cowrite\node_modules\.pnpm\@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u\node_modules\@premieroctet\next-admin\dist\utils'Import trace for requested module:./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/server.js./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/utils/props.js./node_modules/.pnpm/@premieroctet+next-admin@7.1.0_@prisma+client@6.1.0_prisma@6.1.0__@types+react-dom@18.3.1_@ty_ayfddcnai2ekb4z5zr6parc56u/node_modules/@premieroctet/next-admin/dist/appRouter.js./src/app/admin/[[...nextadmin]]/page.tsx GET /favicon.ico 200 in 752ms
Browsers
Chrome
The text was updated successfully, but these errors were encountered:
Thanks for the issue, this might be related to pnpm. Would it be possible for you to quickly have a try with yarn ?
We'll have to make it work for pnpm if it works for yarn.
Description
while running the command
npx @premieroctet/next-admin-cli@latest init
throws error Schema file "D:\Projects\xyz\prisma\schema.prisma does not exist".I am using nextjs src directory.
i tried manually setting up the next-admin, but ran into issues.
Note: I added generator to schema.prisma file. ran the generate command too, still the issue persists.
Reproduction URL
notneeded
Reproduction steps
Next router
App router
Next Admin version
7.1.0
Screenshots
Next Admin options
Logs
Browsers
Chrome
The text was updated successfully, but these errors were encountered: