打開項目設置,把node_modules目錄設置爲Excluded,立馬解卡.
同理,適用於jetbrains公司的其他ide,比如phpstorm,webstorm等.
對於項目中其他不需要index的目錄也可以這樣設置一下,提高速度.