Comments (7)
The logs you provided are for the language server. Can you provide the addon manager log? There should be a little notepad icon in the bottom right of the addon manager to open the latest log file.
from lua-language-server.
The button doesn't work, and after using Everything to search my computer, all the addon manager log files I could find were completely empty.
from lua-language-server.
Does the output window for Lua Addon Manager
contain anything?
from lua-language-server.
Or is there an error for the addon manager in the console of the webview dev tools?
from lua-language-server.
RangeError: Invalid array length
at String.repeat (c:\Users\Nolan\.vscode\extensions\searking.preview-vscode-2.3.3\dist\extension\node\extension.js:2:386177)
at padText (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\out\addon_manager\services\string.service.js:11:25)
at Printf.template (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\out\addon_manager\services\logging.service.js:60:55)
at Printf.transform (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\logform\printf.js:11:26)
at Format.transform (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\logform\combine.js:20:24)
at DerivedLogger._transform (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\winston\lib\winston\logger.js:313:29)
at Transform._read (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_transform.js:166:10)
at Transform._write (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_transform.js:155:83)
at doWrite (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_writable.js:390:139)
at writeOrBuffer (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_writable.js:381:5)
at Writable.write (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_writable.js:302:11)
at DerivedLogger.value (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\winston\lib\winston\logger.js:67:18)
at DerivedLogger.<computed> [as verbose] (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\winston\lib\winston\create-logger.js:81:14)
at a.value (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\out\addon_manager\panels\WebVue.js:227:27)
at o.y (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:660)
at o.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:877)
at w.$onMessage (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:145:14048)
at c.S (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:5505)
at c.Q (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:5271)
at c.M (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:4361)
at c.L (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:3579)
at a.value (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:2227)
at o.y (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:660)
at o.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:877)
at u.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:107:14175)
at a.value (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:176:8023)
at o.y (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:660)
at o.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:877)
at u.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:107:14175)
at MessagePortMain.<anonymous> (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:176:6303)
at MessagePortMain.emit (node:events:517:28)
at MessagePortMain.emit (node:domain:489:12)
at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2285)
at Object.topLevelDomainCallback (node:domain:161:15)
at Object.callbackTrampoline (node:internal/async_hooks:128:24)
from lua-language-server.
Well this is an odd one. I'm not sure what is truly causing the problem, as the stack trace you provided points to a different extension (searking.preview-vscode-2.3.3
) and then a string padding function that is called by a log function call.
I have a few guesses as to what it could be.
-
Try disabling the
searking.preview-vscode-2.3.3
extension, reloading the window, and then giving the addon manager a shot. It is at the top of the stack trace for some reason and may somehow be responsible. Perhaps it is mistaking the addon manager webview as one of its own? -
Git is unable to reach GitHub and the LLS-Addons repo. Try a manual git clone to make sure it can be done.
-
It could be a permissions issue. The addon manager creates a directory at
%appdata%/Code/User/globalStorage/sumneko.lua/addonManager
to install addons into. If it cannot read and write into this directory, the addon manager would cease to work. The error should clearly state this is the issue, but perhaps for some reason this is not the case. -
Something has corrupted in a really ugly way and just completely removing
%appdata%/Code/User/globalStorage/sumneko.lua/addonManager
may fix it.
from lua-language-server.
Disabling the preview extension seems to have worked.
from lua-language-server.
Related Issues (20)
- [Feature Request] @mixin - @class specific syntax to define applied mixins HOT 1
- 代码提示出现的很慢, 把工作区诊断关了也没有用,看下日志时间耗时是否正常 HOT 2
- Cannot inherit from class alias HOT 1
- Diagnostics can become stale when switching between `<module>.lua` and `<module>/init.lua` structures (such as when going back and forth between git branches)
- A pre built binaries for linux/arm64 hasn't been released at 3.8.0 HOT 4
- Regex in diagnostics globals
- BUG:远程开发插件报错,无法定位引用变量
- [Feature Request] Allow passing filters to `--doc`
- 新版本
- 定义泛型函数对于指定了泛型类型的参数插件无法识别该参数的类型,不能提示出该类型的正确成员
- linux arm missing from releases
- Annotation type any not working properly
- operator 貌似不支持重载?可否支持? HOT 1
- .luarc.json file doesn't apply the nameStyle.config
- require path with custom package.loaders HOT 2
- Class generics cannot inherit directly from the generic HOT 1
- Change default TokenModifiers global color
- Slow startup + invalid UTF-8 code HOT 2
- Anonymous function whitespace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua-language-server.