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

尝试编译和运行 Homegraph 报告状态仪表板

如何解决尝试编译和运行 Homegraph 报告状态仪表板

我正在尝试在 Windows 上安装 Googles HomeGraph State Dashboard。按照自述文件并使用命令“mvn compile”我得到错误

[INFO] chunk {0} polyfills.bd2fe3ff664c9016f621.bundle.js (polyfills) 63.5 kB [initial] [rendered]
[INFO] chunk {1} main.8997d1c6093196baea97.bundle.js (main) 444 kB [initial] [rendered]
[INFO] chunk {2} styles.8a126321729b8c0aa334.bundle.css (styles) 46.9 kB [initial] [rendered]
[INFO] chunk {3} inline.318b50c57b4eba3d437b.bundle.js (inline) 796 bytes [entry] [rendered]
[INFO] 'cp' is not recognized as an internal or external command,[INFO] operable program or batch file.
[INFO] npm ERR! code ELIFECYCLE
[INFO] npm ERR! errno 1
[INFO] npm ERR! client@0.0.0 build: `ng build --prod && cp -r ../appengine/* ../webapp/`
[INFO] npm ERR! Exit status 1
[INFO] npm ERR!
[INFO] npm ERR! Failed at the client@0.0.0 build script.
[INFO] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[INFO]
[INFO] npm ERR! A complete log of this run can be found in:
[INFO] npm ERR!     C:\Users\howar\AppData\Roaming\npm-cache\_logs\2021-07-11T20_23_36_263Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  18.432 s
[INFO] Finished at: 2021-07-11T13:23:36-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.8.0:npm (NPM build) on project dashboard: Failed to run task: 'npm run build' Failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors,re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

我对此不知所措。我正在运行的 java 和 maven 是最新的下载。即使说明说“#build client(单独),无论这意味着什么,下一步也会失败。也许错误是“cp”,这似乎是为linux或unix系统编写的......也许,但我在Windows 10 系统。

有人请告诉我为什么 Homegraph 仪表板不能作为 Windows 程序下载,而不是通过所有可怕的俯卧撑来编译它。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。