idea解決外掛 AiXcoder Code Completer:aixcoder本地服務不存在,aiXcoder服務更新失敗
阿新 • • 發佈:2020-12-22
技術標籤:# IntelliJ IDEA
對官方手冊有輕微修改,原文:官方手冊(點選檢視)
由於內網環境,使用 aiXcoder 報錯:
下載失敗: aiXcoder服務更新失敗
1.直接去 github官網下載本地服務
https://aixcoder.com/#/localServer
注意不是:https://github.com/aixcoder-plugin/localservice/releases
2.下載後,根據到idea提示的建立目錄
注意目錄 localserver 和 localserver2
有可能你的是:
Windows
%UserProfile%\aiXcoder\installer\localserver\current\server
通常來說,這個目錄是:
C: \Users\<使用者名稱>\aiXcoder\installer\localserver\current\server
也有可能你的是
%UserProfile%\aiXcoder\installer\localserver2\current\server
也就是:
C:\Users\<使用者名稱>\aiXcoder\installer\localserver2\current\server
3.將下載的本地服務拷貝到上面的目錄,然後解壓。注意不要先解壓,因為有些隱藏檔案容易漏掉。
如果報錯:
(node:35156) [DEP0005] DeprecationWarning: Buffer( ) is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
1.先檢查下載的是是否是最新版本的server?
例如2020-12月的最新版本是:https://image.aixcoder.com/localservice/releases2/download/v2.3.1/server-win.zip
2.去官網 https://github.com/aixcoder-plugin/localservice
3.加入官網寫的QQ群,尋求支援。