What issue or error are you experiencing?
Suddenly, as of about a week ago, whenever I click any of the sites in the “Local sites” sidebar, it launches a VSCode Windows 11 permission dialog, and when I click “Yes”, then VSCode launches this file called “cli.js”. I’ve not seen any help for this issue online, and AI chatbot suggestions all failed (checked for filetype associations, disabled VSCode extensions – all no-go).
I am on the latest update for LocalWP, Windows 11, and Dell. But the issue persists.
You probably aren’t going to be able to replicate the issue, but I’m hoping you can speculate what is happinging. For instance, I didn’t install cli.js and it’s unclear to me if its LocalWP that is launching it, or VSCode.
However, after I close the VSCode instance, launching the site from WP Admin button works fine. The issue only seems to occur only once (though it doesn’t matter which site I choose) until I turn local app off and on again.
Any help you can offer as to what is causing this issue is appreciated.
System Details
-
Local Version: Version 9.1.0+6719
-
Operating System (OS) and OS version:
Local Logs
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.