当我运行此命令时:
npm install -g expo-cli
要安装expo客户端,它会显示“没有这样的文件或目录”。运行此命令时,节点已安装但未链接:
brew link node
它给我这个错误
Error: Could not symlink bin/node
Target /usr/local/bin/node
already exists. You may want to remove it:
rm '/usr/local/bin/node'
To force the link and overwrite all conflicting files:
brew link --overwrite node
To list all files that would be deleted:
brew link --overwrite --dry-run node
当我运行覆盖命令时,出现此错误:
Error: Could not symlink include/node/common.gypi
/usr/local/include/node is not writable.
我很迷茫,不知道如何解决这个问题,我已经在stackoverflow上寻找了一个解决方案,到目前为止,我尝试过的所有方法都没有用,任何帮助将不胜感激