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
 installSuccessfully started process 'command 
'C:\G\ofbiz-framework\themes\common-theme\.gradle\nodejs\node-v20.11.1-win-x64\npm.cmd''


npm ERR! code ECONNRESETnpm ERR! syscall read
npm ERR! errno ECONNRESET
npm ERR! network request to 
https://registry.npmjs.org/jquery.browser/-/jquery.browser-0.1.0.tgz failed, 
reason: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network 
settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'





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

Reply via email to