mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2025-05-22 05:04:06 +00:00
chore: add known issue notes for prisma
This commit is contained in:
parent
d8a0623763
commit
97be7b8f7c
24
README.md
24
README.md
@ -35,6 +35,30 @@ Nest Auto CRUD is a library that provides a set of modules, decorator, service,
|
||||
$ npm install @aditama-labs/nest-autocrud
|
||||
```
|
||||
|
||||
## Known Issue for Prisma User
|
||||
|
||||
### Default Generated Schema ( First Setup Project )
|
||||
|
||||
Please remove `output` from your first generated prisma schema or you can't running the backend because `nest-autocrud` cannot find it, so instead it will stored in `node_modules`.
|
||||
|
||||
```prisma
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
// This `output` property should be removed
|
||||
output = "../generated/prisma"
|
||||
}
|
||||
```
|
||||
|
||||
### This is fixed version of the schema
|
||||
|
||||
```prisma
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
}
|
||||
```
|
||||
|
||||
In summary you must delete `output` property from the schema
|
||||
|
||||
## Example
|
||||
|
||||
### Environment Variable
|
||||
|
Loading…
x
Reference in New Issue
Block a user