Thanks too, Indeed, I'll add this information
Le 13/08/2024 à 13:14, 雷咩咩 a écrit :
thanks for reply. i'm using truck version. And I think regarding how to build truck version, the tutorial you provided doesn't have significant difference from that I mentioned(https://ofbiz.apache.org/developers.html). Neither mentions possibilities of network issue or proxy setting at all. ------------------ 原始邮件 ------------------ 发件人: "user" <[email protected]>; 发送时间: 2024年8月13日(星期二) 下午5:40 收件人: "user"<[email protected]>; 主题: Re: gradle build fail due to npm timeout Hi, Not sure it's of much help, but it may also depends on the OFBiz version your are using trunk : follow https://nightlies.apache.org/ofbiz/trunk/readme/html5/README.html (Gradle 7.6) 18.12.15: follow https://nightlies.apache.org/ofbiz/stable/readme/html5/README.html (Gradle gradle-5.0-rc-5) HTH Jacques Le 13/08/2024 à 11:18, 雷咩咩 a écrit : > > hi ofbiz users, > > > I'm very glad to be added to the mailing list and this is my first time asking a question. > > Today is my first time trying to build the project locally on windows. > > I'm in China and many of the gradle/maven/google/github/npm like websites are too slow or even not accessible directly. > > I added some gradle repository proxies before build and run `gradle cleanAll loadAll --info` following https://ofbiz.apache.org/developers.html, > > Seems all necessary pom packages have been downloaded. > > > but build step stuck on npm step, seems the node itself is downloaded as a maven package, and I have no chance to setup its mirror/proxy(like > https://registry.npmmirror.com, or https://npmmirror.com/mirrors/npm) > > > detailed message before errors: > > Starting process 'command 'C:\G\ofbiz-framework\themes\common-theme\.gradle\nodejs\node-v20.11.1-win-x64\npm.cmd''. Working directory: > C:\G\ofbiz-framework\themes\common-theme\webapp\common-theme\js Command: > C:\G\ofbiz-framework\themes\common-theme\.gradle\nodejs\node-v20.11.1-win-x64\npm.cmd install > Successfully started process 'command 'C:\G\ofbiz-framework\themes\common-theme\.gradle\nodejs\node-v20.11.1-win-x64\npm.cmd'' > > > can anyone with similiar networking issue experience tell me how to solve? thanks in advance! > > I'm not sure whether it is proper to attach the build logs, but if it helps I already attached. > > > gradle -v > ------------------------------------------------------------ > Gradle 8.9 > Groovy: 3.0.21 > Launcher JVM: 17 > Daemon JVM: C:\j17 (no JDK specified, using current Java home) > OS: Windows 10 10.0 amd64 > > Regards, > Yang Lei
