mac 迁移至 M1(Apple Silicon) 后,vscode 中的 TabNine 无法工作 (TabNine in vscode does not work after mac migration to M1 (Apple Silicon))
使用迁移助理,将系统迁移 M1 芯片的电脑后,即使卸载重装 tabnine 仍无法运行。
原因
卸载 vscode 的 tabnine 插件,并不会移除其二进制文件,重装插件后仍使用旧的二进制文件,导致 tabnine 无法运行。
打开 vscode 开发人员工具,可以看到警告信息:
Binary child process error: spawn /Users/xxx/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/3.7.20/aarch64-apple-darwin/TabNine EACCES
解决办法
- 从 vscode 卸载 tabnine 插件
- 删除 tabnine 二进制文件
rm-rf ~/Library/Application\ Support/Code/User/globalStorage/tabnine.tabnine-vscode/
- vscode 重装 tabnine 插件
After using Migration Assistant to migrate the system to a computer with M1 chip, tabnine does not work even after uninstallation and reinstallation.
Reason:
Uninstalling the tabnine plugin for vscode does not remove its binaries, and reinstalling the plugin still uses the old binaries, causing tabnine to not work.
Open the vscode developer tools and you can see the warning message.
Binary child process error: spawn /Users/xxx/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/3.7.20/aarch64-apple-darwin/TabNine EACCES
Workaround
- Uninstall the tabnine plugin from vscode
- Delete the tabnine binary
rm-rf ~/Library/Application\ Support/Code/User/globalStorage/tabnine.tabnine-vscode/
- Reinstall the tabnine plugin
延伸阅读:
暂无内容!
评论列表 (0条):
加载更多评论 Loading...