Error installing Bower (ERR! tar.unpack untar error)

前端 未结 5 808
野性不改
野性不改 2021-01-20 03:21

I get this error when trying to install Bower. Is this a bug or am I doing it wrong? I also have 4707 lines of npm-debug.log file if needed...

Thanks!

This

相关标签:
5条回答
  • 2021-01-20 03:36

    Had this error for some time, too, and none of the solutions online worked for me. What did, however, was restarting the computer after installing a bunch of crap. :) Hope it helps somebody.

    0 讨论(0)
  • 2021-01-20 03:39

    Please upgrade npm first then install bower

    0 讨论(0)
  • 2021-01-20 03:41

    Happened to me as well, clear cache!

    npm cache clean
    
    0 讨论(0)
  • 2021-01-20 03:46

    When running the command npm install -g mup on Yosemite 10.10.5 I got this error: tar.unpack untar error...

    The npm cache clean didn't fix the issue. Putting sudo in front solved the problem and my npm install was successful.

    0 讨论(0)
  • 2021-01-20 04:02

    You can add sudo before npm install ,and it may work.

    0 讨论(0)
提交回复
热议问题