Closed JJSax closed 1 month ago
The love2D addon has been updated recently. When you go to enable the addon, it attempts to update it to the latest version, but it appears that you may have some local changes that are conflicting.
Could you try uninstalling the addon, ensuring the module is completely gone from the install location, and seeing if that fixes things for you?
Yes that did it. I double checked it on another project I was having the issue with using the same profile and it worked right away after reinstalling from my other one. That is the fix.
Glad to hear!
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Diagnostics/Syntax Checking
Expected Behaviour
I expect to be able to enable the love2d package. I've never had this issue until recently.
Actual Behaviour
I get a VSCode popup saying "Error Failed to enable love2d!" message with buttons "okay" and "open log". Log is attached.
Reproduction steps
Additional Notes
I'm pretty close to having a fresh install with no other extensions, so it's unlikely a conflict. But just in case, I have 1) Better Comments by Aaron Bond 2) Local Lua Debugger by Tom Blind (This one enables fine in the addon manager) 3) VS Sequential Number by Neptune Design
The logs say there would be files overwritten, and to commit, so I committed which didn't fix. Then I updated all my submodules and committed everything and that still didn't fix.
Log File
22.log