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:
- Install NodeJS & npm from https://docs.npmjs.com/getting-started/installing-node
- Update to the latest NPM:
npm install npm@latest -g
- Install bower globally:
npm install -g bower