更新Heroku CLI时出错:存在写锁:更新 [英] Error when updating Heroku CLI: write lock exists: update

查看:69
本文介绍了更新Heroku CLI时出错:存在写锁:更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

但是,我尝试更新Heroku CLI,但未成功。

I am trying to update the Heroku CLI, however, without success.

Heroku CLI的当前版本是

Current version of Heroku CLI is

heroku-cli/6.15.5-1f03166 (win32-x64) node-v9.3.0

运行时

heroku update

我收到以下错误

C:\>heroku update
CLI is updating... !
 !    'ELOCK': write lock exists: update

到目前为止,我没有找到解决此问题的任何方法我很犹豫只是卸载并重新安装Heroku CLI(然后我的所有配置都丢失了)。

I didnt' find any solution to this problem so far as I am hesitating to just uninstall and re-install the Heroku CLI (all my configs are lost then).

推荐答案

我通过卸载heroku并通过命令行安装解决了这个问题:
npm install -g heroku
所以我得到了最新版本。

I solved this problem by uninstalling heroku and installing via command line: npm install -g heroku So I got the most current version.

这篇关于更新Heroku CLI时出错:存在写锁:更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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