【问题标题】:npm install failes with ERR! tar.unpack (raspi)npm install 失败并出现错误! tar.unpack (raspi)
【发布时间】:2019-02-28 22:01:31
【问题描述】:

我尝试按照本教程安装 Selenium Code Line Runner

https://www.seleniumhq.org/selenium-ide/docs/en/introduction/command-line-runner/

我设法sudo apt-get install nodejssudo apt-get install npm 但我通过 sudo npm install -g selenium-side-runner 安装 selenium-side-runner 失败了

我收到以下错误:

npm ERR! tar.unpack ... 

另见:error messages

我偶然发现了一些技巧如下:

  • 安装到 SD 卡 (Raspi)
  • 卡未满
  • sudo npm cache clean 重试失败
  • sudo rm -r /usr/local/lib/node_modules/selenium-side-runner 重试无效

还有其他想法吗?

【问题讨论】:

    标签: node.js selenium raspberry-pi


    【解决方案1】:

    NPM 的更新做到了!

    sudo npm install -g npm@latest
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-13
      • 1970-01-01
      • 2020-09-03
      • 2016-11-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多