从脚本运行时,NPM需要登录 [英] NPM requires login when running from script

查看:989
本文介绍了从脚本运行时,NPM需要登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在已设置vsts Feed的托管代理上运行NPM安装。  现在这一切都在我使用NPM任务时有效,但是当我从蛋糕脚本运行npm install时,它会从登录凭证中询问。


任何人都有任何想法?

解决方案

嗨roly445,



感谢您在此发帖。



此论坛正在讨论Team Foundation Server。您的问题与Visual Studio Team Service有关。我将把这个帖子移到相应的论坛。



最好的问候


Limitxiao Gao


I'm trying to run NPM install on a hosted agent with a vsts feed set up.  Now this all works when I use the NPM task, but when I run npm install from a cake script it asks from login credentials.

Anyone have any idea?

解决方案

Hi roly445,

Thank you for posting here.

This forum is discussing Team Foundation Server. Your issue is related to Visual Studio Team Service. I will move this thread to corresponding forum.

Best Regards

Limitxiao Gao


这篇关于从脚本运行时,NPM需要登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆