'unable to run aws-azure-login when installed using npm install aws-azure-login command
when I run npm install aws-azure-login, package is successfully installed but when I try to access, it throws the error('aws-azure-login' is not recognized as an internal or external command, operable program or batch file.) is there anyway to install this package such that all users of the computer can use it.
Solution 1:[1]
Please use npm install -g aws-azure-login
to install the module globally.
Solution 2:[2]
As mentioned, you should run npm install -g aws-azure-login
. However, this would install the modules in C:\Users\your_user\AppData\Roaming\npm, which might not be in your PATH.
Add this to your PATH environment variable.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Allen Wu |
Solution 2 | TheUnderdogr |