Typescript throwing errors for every import with basic Next.js install
Answered
Cuckoo wasp posted this in #help-forum
Cuckoo waspOP
Hey, just been trying to do a release build and Typescript is throwing errors for every import.
I have tried all the common debugging suggestions on a quick search and no luck. Followed Next.js tutorial for a basic installation using pnpm.
Any advice for debugging or common config I'm missing for TS or nextjs?
I have tried all the common debugging suggestions on a quick search and no luck. Followed Next.js tutorial for a basic installation using pnpm.
Any advice for debugging or common config I'm missing for TS or nextjs?
8 Replies
Cuckoo waspOP
Like it's even erroring on the next import in the next.config.ts
there must be something wrong with your Vscode config
or maybe something with typescript/eslint server
maybe try checking their logs
Cuckoo waspOP
Ok will check those there
Cuckoo waspOP
I have created a new profile with default settings in VScode and still there :( Nothing other than the problems listed in the typescript server log.
Should I try uninstall and reinstalling vs code?
Should I try uninstall and reinstalling vs code?
Answer
Cuckoo waspOP
My machine is really messed up, setup a dev container and it still had issues, gunna wipe machine and start fresh this windows install too old