MichalLytek / typegraphql-prisma

Prisma generator to emit TypeGraphQL types and CRUD resolvers from your Prisma schema

Home Page:https://prisma.typegraphql.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No @generated/type-graphql folder in node_modules

samerkassem82 opened this issue · comments

commented

Describe the Bug
I have followed your guide https://prisma.typegraphql.com/docs/basics/installation

No @generated/type-graphql folder in node_modules was generated

To Reproduce
Following your guide here on node 18.16.0?

Environment (please complete the following information):

  • OS: Windows 10
  • Node 18.16.0

{
"devDependencies": {
"prisma": "^5.0.0",
"typegraphql-prisma": "^0.27.0"
},
"scripts": {
"preinstall": "nvm install && nvm use"
},
"dependencies": {
"@apollo/server": "^4.8.1",
"@prisma/client": "^5.0.0",
"@types/graphql-fields": "^1.3.5",
"graphql": "^15.0.0",
"graphql-fields": "^2.0.3",
"graphql-scalars": "^1.22.2",
"tslib": "^2.6.0",
"type-graphql": "^1.1.1"
}
}

Additional Context

image

image

Sorry but unable to reproduce. Please check your schema.prisma file.

image