Windows 10无法识别Heroku CLI命令'pico'? [英] Heroku CLI commands 'pico' not recognized on Windows 10?

查看:86
本文介绍了Windows 10无法识别Heroku CLI命令'pico'?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Heroku CLI来在其上编辑我的MySQL ClearDB Server.每当我执行命令

I am using the Heroku CLI in order to edit my MySQL ClearDB Server on it. Whenever I carry out the command

heroku config:edit --app myApplication

引用"pico"命令时出现错误.

I get an error referencing ‘pico’ command.

这是全部内容:

Fetching config... done
Waiting for pico... 'pico' is not recognized as an internal or external command,
operable program or batch file.
Error: spawn pico ENOENT
    at notFoundError (C:/Program Files/heroku/client/node_modules/cross-spawn/lib/enoent.js:6:26)
    at verifyENOENT (C:/Program Files/heroku/client/node_modules/cross-spawn/lib/enoent.js:40:16)
    at ChildProcess.cp.emit (C:/Program Files/heroku/client/node_modules/cross-spawn/lib/enoent.js:27:25)

由于我使用Windows 10,因此无法直接获得适用于Unix系统的'pico'.不知道是否有解决办法,也许我可以使用一些替代的命令提示符模拟器,尽管不想走那条路.还是通过更改CLI的默认文本编辑器使其更有效的方法?

Since I am using Windows 10, I can't directly obtain 'pico' which is for Unix systems. Don't know if there's a way around this, perhaps there is some alternative command prompt simulator I could use although don’t wanna go that route; or more favorably method of making it work by changing the default text editor for the CLI?

推荐答案

无法解决"pico"问题,但

Doesn't fix the 'pico' problem but

heroku config --json --app my_app

heroku config --json --app my_app

将列出您的配置变量到终端.然后可以使用

will list your config variables to the terminal. These can then be modified using the

heroku config:set config_Key = config_Value --app my_app

heroku config:set config_Key=config_Value --app my_app

这篇关于Windows 10无法识别Heroku CLI命令'pico'?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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