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]&gt;;
发送时间:&nbsp;2024年8月13日(星期二) 下午5:40
收件人:&nbsp;"user"<[email protected]&gt;;

主题:&nbsp;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&nbsp;:
&gt;
&gt; hi ofbiz users,
&gt;
&gt;
&gt; I'm very glad to be added to the mailing list and this is my first time 
asking a question.
&gt;
&gt; Today is my first time trying to build the project locally on windows.
&gt;
&gt; I'm in China and many of the gradle/maven/google/github/npm like websites 
are too slow or even not accessible directly.
&gt;
&gt; I added some gradle repository proxies before build and run `gradle 
cleanAll loadAll --info` following https://ofbiz.apache.org/developers.html,
&gt;
&gt; Seems all necessary pom packages have been downloaded.
&gt;
&gt;
&gt; 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
&gt; https://registry.npmmirror.com, or https://npmmirror.com/mirrors/npm)
&gt;
&gt;
&gt; detailed message before errors:
&gt;
&gt; Starting process 'command 
'C:\G\ofbiz-framework\themes\common-theme\.gradle\nodejs\node-v20.11.1-win-x64\npm.cmd''.
 Working directory:
&gt; C:\G\ofbiz-framework\themes\common-theme\webapp\common-theme\js Command:
&gt; 
C:\G\ofbiz-framework\themes\common-theme\.gradle\nodejs\node-v20.11.1-win-x64\npm.cmd
 install
&gt; Successfully started process 'command 
'C:\G\ofbiz-framework\themes\common-theme\.gradle\nodejs\node-v20.11.1-win-x64\npm.cmd''
&gt;
&gt;
&gt; can anyone with similiar networking issue experience tell me how to solve? 
thanks in advance!
&gt;
&gt; I'm not sure whether it is proper to attach the build logs, but if it 
helps I already attached.
&gt;
&gt;
&gt; gradle -v
&gt; ------------------------------------------------------------
&gt; Gradle 8.9
&gt; Groovy: &nbsp; &nbsp; &nbsp; &nbsp;3.0.21
&gt; Launcher JVM: &nbsp;17
&gt; Daemon JVM: &nbsp; &nbsp;C:\j17 (no JDK specified, using current Java home)
&gt; OS: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Windows 10 10.0 amd64
&gt;
&gt; Regards,
&gt; Yang Lei

Reply via email to