-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Doesn't work with src directory #504
Comments
here's the prisma schema file.
|
Hello, Thanks for the issue, this might be related to pnpm. Would it be possible for you to quickly have a try with yarn ? Thanks ! |
Same issue here with pnpm, maybe we should support |
Would you be able to have a try with yarn ? I'd like to determine if the issue comes from pnpm or not |
Could you please try by upgrading @premieroctet/next-admin-generator-prisma to 0.0.2, and re-run the prisma generate command ? |
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: