分針網——每日分享:node_modules太大導致ide很卡
阿新 • • 發佈:2017-06-21
node_modules ide
1.在nodejs項目中新建一個空文件夾 node_modules
2.如圖:
這樣ide就不會加載了
3.svn還是會update node_modules 還是很慢 這時候
右鍵選擇lgnore
選擇忽略整個文件夾 點ok
文件架變成了綠色
領取免費IT資料 加群:272292492
更多文章:www.f-z.cn
在使用npm install之後 由於node_modules太大導致ide很卡 解決辦法如下:
1.在nodejs項目中新建一個空文件夾 node_modules
2.如圖:
這樣ide就不會加載了
3.svn還是會update node_modules 還是很慢 這時候
右鍵選擇lgnore
選擇忽略整個文件夾 點ok
文件架變成了綠色
OK~
分針網——每日分享:node_modules太大導致ide很卡