Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试在 openshift 中使用 npm 安装Yo时,出现以下错误:如何修复它并在 Openshift 中使用 sudo 来使用 npm:
Please try running this command again as root/Administrator.
据我了解您的情况,操作系统提示您以管理员模式运行命令。我不熟悉 openshift,但它是 redhat 产品,我有使用 fedora 的经验,所以你可以试试这个,运行“su”命令,它会提示你输入管理员密码,提供管理员凭据。我希望在那之后你一切顺利。