Reputation: 13
Whenever I create a schema The intel lisense works slowly and if I require it in other files the whole project intellisense.
Upvotes: 0
Views: 698
Reputation: 133
My VSCode smart tips is laggy! When I delete node_modues
dir , everything is ok, so I started to check every package.
I tested lots of npm packages, and I found that is because Mongoose 6.x versions makes VSCode lag;
Then, I tester lower versions Mongoose, and the problem remains.
The reason is, when you use:
npm i [email protected]
the [email protected]
package will install Mongoose 6.0.10 version automatically because the required relation is :
[email protected] › [email protected] › [email protected]
but, I still don't know why 6.0.10 makes the IDE lag.
Upvotes: 2