Next.js Discord

Discord Forum

Intellisense not working

Unanswered
Korat posted this in #help-forum
Open in Discord
KoratOP
I have a fairly far-along Next project.

At some point within the last few weeks, the project stopped being able to take new npm package installs.

Something as simple as npm i swr will install the package, but intellisense won't pick it up.

I can manually import the package and use it without typsecript complaining, and the packages at least seem to be working normally... but intellisense won't give me autocomplete.

I can recreate the bug just by starting a fresh Next project and installing a few dependencies. After I've installed 6 or 7, Next intellisense will stop picking them up.

1 Reply

I've had Intellisense stop working for me. Restarting vscode and the TS Server didn't help. My machine (Mac) had a long uptime so I tried rebooting which fixed Intellisense.