无法从 Windows Ubuntu Bash 运行 Heroku CLI

Unable to run Heroku CLI from Windows Ubuntu Bash

我正在 运行 Bash Ubuntu Windows 上的 Heroku CLI。当我执行 heroku create 或任何其他 heroku 命令时,出现此错误:

 ▸    waitid: invalid argument
module.js:442
    throw err;
    ^

Error: Cannot find module '/home/muz/.cache/heroku/tmp/heroku-script-028766835'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Function.Module.runMain (module.js:575:10)
    at startup (node.js:160:18)
    at node.js:456:3

我已经尝试安装所有要求:node、ruby、npm、git,但它仍然没有 运行。

我也试过删除 .cache 中的 heroku 文件夹。我不知道为什么要检查这个文件夹。

还有其他建议吗?

我通过删除 ~/.local/share/heroku 并重新安装解决了这个问题。不删除文件夹重新安装也没用。