Heroku 键“无法读取未定义的属性 'run'" [英] Heroku keys "Cannot read property 'run' of undefined"

查看:18
本文介绍了Heroku 键“无法读取未定义的属性 'run'"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Heroku cli密钥"功能将 ssh 密钥上传到我的帐户.不幸的是,每当我尝试使用任何键方法时,都会遇到以下错误.

I'm trying to use the Heroku cli "keys" functions to upload a ssh key to my account. Unfortunately I run into the following error whenever I try to use any of the keys methods.

TypeError: Cannot read property 'run' of undefined
at Object.<anonymous> (C:UsersAdministratorAppDataLocalheroku	mpheroku-script-292666295:14:4)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
at Function.Module.runMain (module.js:575:10)
at startup (node.js:159:18)
at node.js:444:3

如有任何想法,我们将不胜感激.

Any thoughts would be greatly appreciated.

推荐答案

在与 Heroku 支持团队交谈后,我们发现 heroku update 解决了问题.

After speaking with the Heroku support team we found that heroku update fixed the problem.

这篇关于Heroku 键“无法读取未定义的属性 'run'"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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