Heroku CLI commands 'pico' not recognized on Windows 10?

ⅰ亾dé卋堺 提交于 2021-01-29 18:20:43

问题


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

I get an error referencing ‘pico’ command.

This is what it is in it’s entirety:

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)

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?


回答1:


Doesn't fix the 'pico' problem but

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



来源:https://stackoverflow.com/questions/57451607/heroku-cli-commands-pico-not-recognized-on-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!