【问题标题】:Not able to call the function in terminal无法在终端调用函数
【发布时间】:2020-04-16 18:46:21
【问题描述】:

起初,当我尝试git commit 时,它在添加提交消息并关闭 Atom 后打开了“Atom”(在终端中显示“由于提交消息为空而中止提交”),以粗体显示了同样的问题,所以我尝试使用 @987654323 @, 有效。

现在,当我再次尝试 git tag 时,它再次打开 atom,而这一次,当我关闭 atom 时,它再次显示同样的问题

我已经尝试过 git config。

$ Attempting to call a function in a renderer window that has been closed or released.
Function provided here: Object.<anonymous> (C:\Users\LaLaLa\AppData\Local\atom\app-1.42.0\resources\app.asar\node_modules\github\lib\worker.js:79:22
Remote event names: destroyed, crashed

【问题讨论】:

  • 您的 atom 似乎没有正确释放资源。尝试使用其他编辑器来编辑提交
  • 实际上不是 Git 错误;我添加了atom-editor 标签。

标签: git terminal atom-editor


【解决方案1】:

这似乎是 Atom 的访问问题,请参阅 this post 了解更多信息。

Tldr,如果您有权访问 linux 命令,请运行 sudo chown -R USERNAME /home/USERNAME/.atom 以设置正确的权限。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-21
    • 2023-02-08
    • 2020-02-26
    • 1970-01-01
    • 1970-01-01
    • 2019-03-28
    相关资源
    最近更新 更多