本文介绍了另一个有效的自制程序正在进行中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试这样做时:
brew install node
我收到此消息:
/usr/local/Homebrew/Library/Homebrew/utils/lock.sh: line 19: /usr/local/var/homebrew/locks/update: Permission denied
-e:1:in `initialize': Bad file descriptor (Errno::EBADF)
from -e:1:in `new'
from -e:1:in `<main>'
Error: Another active Homebrew process is already in progress.
Please wait for it to finish or terminate it to continue.
Error: Permission denied - /usr/local/var/homebrew/locks/node.brewing
关于如何解决此问题的任何想法?
Any idea on how to solve this?
推荐答案
如果以上答案不能解决您的问题,请尝试使用以下命令删除自制程序锁:
If the above answer does not resolve your problem try removing the homebrew process locks with this command:
rm -rf /usr/local/var/homebrew/locks
这篇关于另一个有效的自制程序正在进行中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!