当前位置: 代码迷 >> 综合 >> Error: Failure while executing; `tar --extract --no-same-owner --file /Users/wangchuangyan/Library/C
  详细解决方案

Error: Failure while executing; `tar --extract --no-same-owner --file /Users/wangchuangyan/Library/C

热度:66   发布时间:2023-12-02 17:52:08.0

Mac执行brew install npm时报错

Error: Failure while executing; tar --extract --no-same-owner --file /Users/wangchuangyan/Library/Caches/Homebrew/downloads/01840f175b09e7eb3d4ca7f11492bb1bee74fa7569a41a884c7ffb3418e11a02--libuv-1.41.0.catalina.bottle.tar.gz --directory /private/tmp/d20210708-6134-w2f3oo exited with 1. Here’s the output:
tar: Error opening archive: Failed to open ‘/Users/wangchuangyan/Library/Caches/Homebrew/downloads/01840f175b09e7eb3d4ca7f11492bb1bee74fa7569a41a884c7ffb3418e11a02–libuv-1.41.0.catalina.bottle.tar.gz’

意思是无法打开libuv文件

解决方案:手动安装brew install libuv

  相关解决方案