Cannot find module or type declarations while it works in local build

I was facing this issue too. After initial commit, I renamed a folder from ./src/Provider to ./src/provider making my Github builds fail. Clearing my git cache and re-committing somehow fixed the problem.

git rm --cached -r .

Leave a Comment