-
Notifications
You must be signed in to change notification settings - Fork 114
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
No @generated/type-graphql folder in node_modules #407
Comments
I got the same issue, setting Finding 1: The |
Faced the same issue, but only while building a docker image. Can confirm, that base is Same setup locally on MacOS it works fine. I'm trying to pin point the difference and create a repo. |
@ivankhm amazing investigation. If it helps, One thing I've noticed is that it takes a very long time to transpile the code for me (adds maybe 1-2 min vs 10s without transpiling...) Btw, I'm using |
@MichalLytek without spending too much time on your end - do you happen to have an example repo I can quickly clone and debug this issue in? 🙏 |
My debug repo is the |
Brilliant, will have a look and get back to you 🙏 |
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):
{
"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
The text was updated successfully, but these errors were encountered: