无法从命令行使用Heroku [英] Unable to use Heroku from the commandline

查看:110
本文介绍了无法从命令行使用Heroku的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我正在使用Heroku的Facebook应用程序,我做的指示说,但后来我安装heroku工具带卡住。我打开cmd.exe,键入像heroku,但它会导致错误如下

Currently I'm making a Facebook app with Heroku, I did as the instruction says, but then I get stuck after installing heroku-toolbelt. I opened cmd.exe, typed something like 'heroku', but it results in an error as follows


C:/ Program Files / Heroku / bin / heroku:15:在 []':未找到代码转换器(UTF-16LE到Windows-1258)(Encoding :: ConverterNotFoundError)
从C:/ Program Files / Heroku / bin / heroku:15:in
'

我不知道是什么问题,

I don't know what is the problem, searching around but there's no luck at all.

有没有人知道我在做什么?

Does anyone have an idea of what I am doing wrong?

推荐答案

在命令行中输入 heroku 将不会做任何事情。首先转到您已设置文件夹的目录,您可以使用DOS命令从命令行放置应用程序的所有文件。然后键入 heroku login 。它会提示您输入您的heroku帐户的用户凭据。输入正确,你很好从那里。

Just typing heroku in the command line won't do anything. First go to the directory where you have set up a folder to put all the files of your app from command line using DOS commands. Then type heroku login. It'll prompt you for user credentials for your heroku account. Enter those correctly and you're good to go from there.

这篇关于无法从命令行使用Heroku的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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