-
Notifications
You must be signed in to change notification settings - Fork 15
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
Prisma unusable #35
Comments
I`ve fixed this by not using @prisma/nuxt.
and import added this Now everything works like a sharm. |
In my case, I solved it temporarily like this. When you see this prompt in the console, press 'N', it will skip installing the Prisma studio and the error should go. alternatively, you can add the following to export default defineNuxtConfig({
prisma: {
installStudio: false,
}
}) and it will skip the step. I checked the code and the error seems to come from this export async function installStudio(directory: string) {
try {
const { spawn } = require("child_process");
log(PREDEFINED_LOG_MESSAGES.installStudio.action);
await spawn("npx", ["prisma", "studio", "--browser", "none"], {
cwd: directory,
});
logSuccess(PREDEFINED_LOG_MESSAGES.installStudio.success);
return true;
} catch (err) {
logError(PREDEFINED_LOG_MESSAGES.installStudio.error);
log(err);
return false;
}
} |
Is there any update on this? @ankur-arch can you maybe comment on why this (8820362) did get removed? Thanks in advance |
Hey there @Kuuzoo 👋,
You’re absolutely right—those were included previously. However, module installation was encountering consistent failures, so I had to remove them temporarily. I’m actively working on resolving these issues and plan to revisit this in the coming weeks. Your patience is greatly appreciated as I work through it!
Good question! From what I recall, local publishes were failing until that change was made. |
Hi there @ankur-arch, first of all merry christmas and big thank you for maintaining this project! I think using the nypm package from unjs, could save a lot of time on making the package work with other package managers. Since it brings all the following functions and is actively getting maintained, I think this is a good option for installing packages, detecting the package manager and so on. ![]() |
Hey @Ed1ks, Could you check if you're still experiencing the issue with the latest version, Thanks! |
Hi all, I'm closing this as stale. We have a couple of other issues that will handle things like |
Hello,
i cant find a way to get prisma working with nuxt.
There is always bunch of errors - even in minimalistic setup.
I tried bun, yarn, pnpm - nothing works. Not in Stackblitz and not local.
It hungs up detecting PrismaClient, makes npx ENONENT or something else
or other errors.
I anyone getting it somehow working?
https://stackblitz.com/edit/nuxt-starter-zgouyq
The text was updated successfully, but these errors were encountered: