-
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] - @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again #515
Comments
Hi @mattvan83, the current documentation of manual installation suppose that your Next.js project is using aliases for imports and modules, probably your issue comes from that your project isn't. To fix your issue, try to import |
Hi @cregourd I have added a
Then whenever I try to access
I have however run
So I commented this line in
But once done I have this error:
Thanks for helping! |
Solved! I have unfortunately deleted this part in
|
Description
When trying to install nextAdmin manually with pre-existing mongoDB, I got the following error message when trying to go to the /admin page:
Reproduction URL
https://github.com/mattvan83/lcdbp-frontend/tree/pprod
Reproduction steps
1. Follow the steps defined here: https://next-admin-docs.vercel.app/docs/getting-started I defined the Tailwind rules in @/app/globals.css file. I got back Prisma models and types from the pre-existing mongoDB.
Next router
App router
Next Admin version
7.1.1
Screenshots
![DESCRIPTION](LINK.png)
Next Admin options
No response
Logs
No response
Browsers
Chrome
The text was updated successfully, but these errors were encountered: