简体   繁体   English

使用 npm install aws-azure-login 命令安装时无法运行 aws-azure-login

[英]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.当我运行npm install aws-azure-login时,package 已成功安装,但当我尝试访问时,它会抛出错误( 'aws-azure-login' 未被识别为内部或外部命令、可运行程序或批处理文件。 ) 无论如何要安装这个 package 以便计算机的所有用户都可以使用它。

Please use npm install -g aws-azure-login to install the module globally.请使用npm install -g aws-azure-login全局安装模块。

As mentioned, you should run npm install -g aws-azure-login .如前所述,您应该运行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.但是,这会在 C:\Users\your_user\AppData\Roaming\npm 中安装模块,这可能不在您的 PATH 中。 Add this to your PATH environment variable.将其添加到您的 PATH 环境变量中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM