when I open a nextjs project, be like:
Deleting the package.json will allow the project to display normally. The cursor was working fine just a few hours ago.
when I open a nextjs project, be like:
Deleting the package.json will allow the project to display normally. The cursor was working fine just a few hours ago.
hmm, this is strange. does it happen for a specific project or all nextjs projects?
Any directory containing a package.json
file has this issue, even if it was not created with Next.js. I have tried using cmd+shift+p
and “Reload with Extensions Disabled,” but the problem persists.
If I open the project from a directory that doesn’t have a package.json
file in the parent level, I received a warning toast: “Unexpected star in SufTrie key: .config.”
rename package.json
to other, everything works fine.
Here is my version number: Version: 0.42.5
VSCode Version: 1.93.1
Commit: 001668006cc714afd397f4ef0d52862f5a095530
Date: 2024-11-14T00:33:36.512Z (1 wk ago)
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.0.0
does it happen when if you create a new project too? just npm init
and in a folder and try to open that? if not i’d suggest reinstalling cursor and see if that helps
The empty project created with npm init
has the same issue. I had previously tried reinstalling, but it didn’t resolve the problem.
Just now, I deleted /Users/USERNAME/Library/Application Support/Cursor
and reinstalled it again, and everything seems to be working fine now.
glad to hear it, thanks for reporting!