I am not sure about the other answer here (including .bowerrc ) ...
This problem also occurs when the resource is unavailable, or the link / mirror does not work on it.
For example, today I received the following error:
bower closure-compiler#* progress Receiving objects: 17% (202/1158), 3.82 MiB | 281.00 KiB/s bower closure-compiler#* progress Receiving objects: 17% (202/1158), 4.03 MiB | 264.00 KiB/s bower closure-compiler#* progress Receiving objects: 17% (203/1158), 4.14 MiB | 266.00 KiB/s bower closure-compiler#* progress Receiving objects: 17% (205/1158), 4.36 MiB | 258.00 KiB/s bower closure-compiler#* progress Receiving objects: 17% (205/1158), 4.81 MiB | 260.00 KiB/s bower leaflet#* EHTTP Status code of 404
Which tells me that the leaflet (the third-party map library that I use) is not available. And of course, the flyer resource I pointed to was not available at that time. In this case, I should go to my bower.json file, not the .bowerrc file, and check that the record / configuration I use for any resource gave me 404 (in this case, a leaflet).
Regarding the OP comment:
No bower_components folder has been created, so I get errors when referring to beam packages.
This is because the bower install command works (or seems to work) as a transaction, in case one part does not work, the whole installation fails ... therefore, if you did not have the bower_components directory bower_components , this will not create it for you if the installation fails.
source share