jsconfig has been deleted but an error is reported

Today, when I changed a vuecli project to Vite, I deleted the jsconfig.json file because I didn't use webpack, but I kept getting errors after that. It was clear that the file no longer
Insert image description here
existed, but I still got an error. This kind of error is the most nonsensical. I reinstalled vscode, reinstalled vite, used npm, and almost ran to install vuecli. After trying for a long time, I finally found the problem. My folder is in a subdirectory of the desktop file, and I have another jsconfig on the desktop. The .json file may be related to the search mode of this vite. It will continuously search for the jsconfig.json file in the upper directory and delete the file on the desktop.

Guess you like

Origin blog.csdn.net/returnadsss/article/details/129183573