0

I'm trying to perform the instalation of some Bower components specified on a bower.json file on Windows.

I opened the command prompt and introduced the command "bower install" on the respective folder. The problem is I received the message:

'bower' is not recognized as an internal or external command, operable program or batch file.

Tiago Neto
  • 379
  • 1
  • 3
  • 15
  • 1
    Possible duplicate of [bower is not recognised as an internal or external command](http://stackoverflow.com/questions/27360710/bower-is-not-recognised-as-an-internal-or-external-command) – Marcinek Dec 06 '15 at 12:27

1 Answers1

3

Had the same problem.

I runned this in Command prompt:

npm install -g bower

If that does not work you need to make sure that Node.JS is installed before.

And make sure the following path is in the Windows PATH Environment Variable: %USERPROFILE%\AppData\Roaming\npm

I had this problem when publishing an ASP.NET 5.0 -> ASP.NET Core 1.0 project, the next error was that gulp was also not found. Logically fixed with this:

npm install -g gulp

KoalaBear
  • 2,755
  • 2
  • 25
  • 29