在折腾了几天后,终于发现了缘由,疏忽啊。node
1.必定要把node_modules文件夹添加到 .gitignore中;不然影响git的提交git
2. idea中:setting ==》editor ==》 File Types 中底部的 ignore file and folder中添加:node_modules;不然idea会检索包里的大量文件,致使idea卡顿。ide
完。idea
天啊,折腾了两天,重装了git,idea,还重装了系统,我都干了些什么,太粗心了。it