Next.js Discord

Discord Forum

I renamed my NextJS folder and am seeing typescript errors now

Answered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
I'm not sure how to correct this, but all I did was rename my root name and I see typescript errors now and am not sure how to correct it.
Answered by aardani
try deleting node_modules and reinstallin typescript and @types/react and @types/react-dom
View full answer

4 Replies

try restarting your TS server
@aardani try restarting your TS server
Transvaal lionOP
Didn't work 😦
try deleting node_modules and reinstallin typescript and @types/react and @types/react-dom
Answer