微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决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 举报,一经查实,本站将立刻删除。