Prisma generate removes node modules
See original GitHub issueAfter running the prisma generate command, ts-node-dev gets removed from the modules but still shows it in the package file.
A simple yarn install fixes it but don’t know why it happens in the first place.
package.json
"devDependencies": {
"@types/body-parser": "^1.19.0",
"@types/config": "^0.0.38",
"@types/cors": "^2.8.9",
"@types/node": "^14.14.25",
"@types/restify": "^8.5.0",
"@types/restify-errors": "^4.3.3",
"module-alias": "^2.2.2",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.1",
"typescript": "^4.1.3"
},
Prisma Client 2.16.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Don't remove generated files inside node_modules (for ...
In doing so, any custom or locally-created files within node_modules are removed. Prisma[1] is a Node.js ORM and generates client files to talk...
Read more >Prisma CLI Installation (Reference)
The Prisma CLI is typically installed as a development dependency, that's why the --save-dev (npm) and --dev (Yarn) options are used in the...
Read more >Prisma | NestJS - A progressive Node.js framework
Note The prisma generate command reads your Prisma schema and updates the generated Prisma Client library inside node_modules/@prisma/client . Use Prisma Client ...
Read more >serverless-webpack-prisma-engines - npm
When using serverless webpack, you can save up to 50% of package capacity by deleting unnecessary Prisma engine.. Latest version: 1.1.1, ...
Read more >serverless-webpack-prisma-engines - NPM Package Overview
When using serverless webpack, you can save up to 50% of package capacity by deleting unnecessary Prisma engine.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@chrisbra-riftpay
You need the
@prisma/clientpackage independenciesas it contains the runtime for the client.prismapackage just contains the cli that can generate the types for the client. Also, are you still able to reproduce this with 2.18?I also haven’t seen this and I can’t reproduce this as well. I will wait for more reports here and see if we can get a reliable reproduction.