Bower failing on Azure deploy Bower failing on Azure deploy azure azure

Bower failing on Azure deploy


I found your question after dealing with this myself and not finding any resources on line. I used a really similar deployment file and script that you listed in the link, but got a similar error to what you listed.

It's confusing because the Azure log shows that everything is being installed from the bower.json file and it only errors at the end.

First of all, make sure you have bower in npm (the node_modules folder). It looks like you do.

Secondly, run bower install in your command line. In my case, it installed everything, but at the end, gave this message:bower error

I selected option 3 because it is the newest version of Angular and, I assume, backwards compatible with the rest. The bang (!) adds it to the bower.json folder. I committed, pushed to my repo, and redeployed on Azure...this time, it deployed without error!