How to fix bower ECMDERR

前端 未结 13 2217
执念已碎
执念已碎 2020-11-30 16:30

I\'m using \"yeoman\" and \"bower\" on windows 7 but got the following error when I create the app

yo webapp

The error is

         


        
相关标签:
13条回答
  • 2020-11-30 17:11

    I've also experienced some strange behavior with bower failing to install all dependencies.

    None of posted solutions worked for me, that's why I'm posting this answer.

    In my case bower install errored randomly almost each time with different package. All packages were on github, so why suddenly ?

    unable to resolve github.com

    Obviously something was wrong with networking.

    Errors were on dockerized Ubuntu 16.04 running in virtualized rancher, so a number of possible points of failure were pretty big.

    But fortunately the solution was extremely simple.

    I realized that this is a basic installation and does not even have basic networking tools.

    So after running apt install net-tools iputils-ping all errors disappeared forever.

    Pretty unexpected for me, hope it helps ...

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