antlr4-tool 在 Win10 中失败并出现错误:命令失败:java

问题描述

继续 antlr4-tool fails in Win10 with: Error: Command failed: which java & https://github.com/mcchatman8009/antlr4-tool/issues/21,我将 C:\<XXX>\npm\node_modules\antlr4-tool\dist\antlr-core\antlr-compiler.js:98:19'which java' 更改为 'where java'

现在我收到以下错误

INFO: Could not find files for the given pattern(s).

    at checkExecSyncError (child_process.js:616:11)
    at Object.execSync (child_process.js:652:15)
    at C:\<XXX>\npm\node_modules\antlr4-tool\dist\antlr-core\antlr-compiler.js:98:19```

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)