在Mac OSx和VS Code中,从终端启动时出现“LSGetApplicationForInfo() failed with error”的错误。
在Mac OSx和VS Code中,从终端启动时出现“LSGetApplicationForInfo() failed with error”的错误。
我安装了VS Code并根据文档(以及在这个答案中找到的方法)运行了Shell Command: Install \'code\' command in PATH
。
起初它能够正常工作,但是在重新启动后(我猜是在重启后),我无法从终端启动code(这非常有用)。
这是我得到的错误:
LSGetApplicationForInfo() failed with error -10814 while trying to determine the application with bundle identifier com.microsoft.VSCodeInsiders.
不确定是否有帮助:如果我键入which code
,我得到/usr/local/bin/code
。
admin 更改状态以发布 2023年5月24日