在使用npm install之后 由于node_modules太大导致ide很卡 解决办法如下:
-
在nodejs项目中新建一个空文件夹 node_modules
-
如图:
这样ide就不会加载了
-
svn还是会update node_modules 还是很慢 这时候
右键选择lgnore

选择忽略整个文件夹 点ok

文件架变成了绿色

OK~
在使用npm install之后 由于node_modules太大导致ide很卡 解决办法如下:
在nodejs项目中新建一个空文件夹 node_modules
如图:
这样ide就不会加载了
svn还是会update node_modules 还是很慢 这时候
右键选择lgnore
选择忽略整个文件夹 点ok
文件架变成了绿色
OK~
本文标题:node_modules太大导致ide很卡
本文链接:https://www.haomeiwen.com/subject/fwhpqxtx.html
网友评论