我在 Mac OSX 上安装 Appium 时遇到问题。
brew uninstall node
brew install node
警告:安装后步骤未成功完成 您可以使用brew postinstall Node 重试
brew postinstall node
Error: Permission denied - /usr/local/lib/node_modules/npm
我应该在这里使用“SUDO”吗??
sudo brew postinstall node
最诚挚的问候, 科科
最佳答案
基于this forum ,如果向下滚动到底部...步骤应该是:
brew uninstall node
sudo rm -r /usr/local/lib/node_modules/
rm -r /Users/username/.npm/ # replace username with your user
brew install node
关于node.js - 无法在 MacOSX 上安装 Appium/Node Js,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26212999/