将私有npm注册表用于Google App Engine标准 [英] Use private npm registry for Google App Engine Standard

查看:63
本文介绍了将私有npm注册表用于Google App Engine标准的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于所有其他stackoverflow问题,似乎人们都在询问私有的npm git存储库或其他技术堆栈.我很确定我可以在GAE Flexible上使用私有的npm注册表,但是我想知道标准版是否可以?

For all the other stackoverflow questions, it seems like people are asking either about a private npm git repository or about a different technology stack. I'm pretty sure I can use a private npm registry with GAE Flexible, but I was wondering if it was possible with the Standard version?

GAE标准文档中,似乎有可能.还有其他人知道吗?

From the GAE standard docs, doesn't seem like it is possible. Anyone else figure out otherwise?

推荐答案

Google Cloud Functions允许您通过在.npmrc文件中提供npm注册表的凭据来访问私有NPM模块,如

Google Cloud Functions allow you to access private NPM modules by providing credentials for the npm registry in a .npmrc file, as explained in the Using private modules section of the documentation.

但是,对于App Engine Standard来说这是不可能的,并且已经为其创建了功能请求,您可以通过

However, this is not possible for App Engine Standard, and a Feature Request was already created for it, which you can follow via this link.

我建议将此请求标记为已受影响,并留下评论说明此请求如何影响您,因为这会增加请求的可见性.

I recommend marking this request as affected, and leave a comment expressing how this is affecting you, as it will increase the visibility of the request.

这篇关于将私有npm注册表用于Google App Engine标准的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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