Basheer Ahmed Basheer Ahmed - 1 year ago 143
Node.js Question

Bower is not recognized as internal or external command

I know the question has been asked many times but really none of them helped me.
I'm on windows 10 and have successfully installed bower via npm using the following code

npm install -g bower

I've added the path to system environment variable but still getting the same error bower is
not recognized as internal or external command.

I've added the following path into my system environment variable


While when I try

npm config get prefix

When I try

npm bower -v

I get the bower version

Tried this as well This

Neither of them worked for me.

Why is that so?

Answer Source

I've tried set the Path variable value in Users Environment variable to the same as for System Environment variable and it worked...

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download