【发布时间】:2017-08-17 06:45:45
【问题描述】:
在尝试通过自制软件重新安装节点时,我遇到了这个错误。
$ brew install node
==> Downloading https://homebrew.bintray.com/bottles/node-8.4.0.sierra.bottle.tar.gz
Already downloaded: /Users/Duncan/Library/Caches/Homebrew/node-8.4.0.sierra.bottle.tar.gz
==> Pouring node-8.4.0.sierra.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/systemtap/tapset/node.stp
/usr/local/share/systemtap/tapset is not writable.
You can try again using:
brew link node
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
???? /usr/local/Cellar/node/8.4.0: 4,152 files, 47.3MB
Duncans-MBP-5:~ Duncan$ brew link node
Linking /usr/local/Cellar/node/8.4.0...
Error: Could not symlink share/systemtap/tapset/node.stp
/usr/local/share/systemtap/tapset is not writable.
运行node -v 确认它没有安装。你如何去纠正这个错误?我不知道如何解释Could not symlink
【问题讨论】:
-
不是答案,但我建议您使用
nvm安装节点。 -
brew doctor输出什么?