我一直在Windows 10上设置JFrog Artifactory(www.example.com),但当我执行"C:\jfrog\artifactory\app\bin\artifactory.bat"时,我收到以下错误消息。尝试以管理员身份运行批处理文件,但遇到了相同的问题。jfrog-artifactory-oss-7.21.3-windows.zip) on Windows 10 but when I execute "C:\jfrog\artifactory\app\bin\artifactory.bat", I am getting the below error message. Tried running the batch file as administrator but encountered the same issue.
Error: Cannot find module 'C:\jfrog\artifactory\app\bin\bin\server\dist\bundle.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
- 输出:**
prompt 13:57:11.77>echo %JAVA_HOME%
C:\java-1.8.0-openjdk
prompt 13:57:17.54>echo %JFROG_HOME%
C:\jfrog
prompt 13:57:22.71>java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
- 其他信息:**
也尝试使用JDK-11,看看是否有帮助,但也不起作用。
prompt 16:54:38.85>java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
1条答案
按热度按时间wnavrhmk1#
谢谢你提出这个问题。一个修复即将在未来的补丁。
[Edit 7月9日]修补程序现已在https://jfrog.com/download-jfrog-platform/上提供