The command 'bower install' exited with code 9009.

I just upgraded to Visual Studio 2017 and received the follow error when trying to publish a .Net Core site to our server.

  The command "bower install" exited with code 9009.

The following command worked for me to fix this (installing bower globally)

npm install -g bower

If that doesn't work, try these steps:

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.