Closed JosepAlacid closed 2 years ago
I've checked the node_modules/.bin/prisma-generator-nestjs-dto
and it points to:
node_modules/@vegardit/prisma-generator-nestjs-dto/dist/cli.js
I've tried to copy the prisma-generator-nestjs-dto
folder to the root of node_modules, but the error persists.
It seems a prisma problem. Tried with another community generator and the same error is shown. I'm gonna add an issue to the main prisma repository.
Use npx prisma generate
works for me
seems to not be related to this generator. @JosepAlacid please link the issue you created in the main prisma repo
Hi, I feel excited to find your repository after reading Prisma Generator concepts from Prisma main documents. I've installed the generator using the readme command line:
npm install --save-dev @vegardit/prisma-generator-nestjs-dto
and added the corresponding generator in my schema.prisma file, but changed the output folder using theoutput
parameter, no other parameters are provided.I've started
prisma generate
but the following error is show:prisma client generator is also in my schema.prisma file and it worked fine.
I've searched in issues and found some information at #16 about the symlink. It is there, but I cannot find
node_modules/prisma-generator-nestjs-dto/dist/cli.js
in my node_modules folder.I'm using prisma on a nx (@nrwl/nx) nest/angular monorepo. Maybe this could be involved in the issue. Additional information about environement and versions:
Hope this helps!