.gitignore 파일 설정을 미리 해야 한다!! commit 시도하다가 에러나면 git cache에 남는다. commit 했을 때, /node_module 특정 index.d.ts에서만 analyzing code로 멈춰있어서 해당 파일에서만 에러를 찾았더니 해결이 늦어졌다.
git rm --cached -r <폴더명 or 파일명>
rm -rf node_modules
npm i
/node_modules