Hello Tim,

Thanks a lot, it has worked after increasing timeout as you have mentioned 
and also handle issue has been resolved on this new version 7.4.

Regards,
Lewatle 

On Friday, 21 October 2022 at 16:50:04 UTC+2 Tim Donohue wrote:

> Hi Lewatle,
>
> Yarn has a flag that lets you increase the timeout as needed.  For 
> example, this will increase the timeout to 5mins (300,000 milliseconds)
>
> "yarn install --network-timeout 300000"
>
> You could also try even larger numbers.
>
> If that doesn't work, then it could be that your server has 
> network issues.  Your server needs to be able to access the internet in 
> order to run "yarn install", as that command downloads many dependencies 
> required to build/run the DSpace 7 user interface.
>
> Tim
> ------------------------------
> *From:* dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf 
> of Lewatle Johannes Phaladi <joem...@gmail.com>
> *Sent:* Friday, October 21, 2022 8:58 AM
> *To:* DSpace Technical Support <dspac...@googlegroups.com>
> *Subject:* [dspace-tech] yarn install "timeout error" Installing DSpace 
> 7.4 on Ubuntu 22.04 
>  
> Dear DSpace Team, 
> how to resolve  yarn timeout error, the server has network connection 
> /dspace-angular-dspace-7.4$ yarn install
> yarn install v1.22.19
> [1/4] Resolving packages...
> [2/4] Fetching packages...
> info There appears to be trouble with your network connection. Retrying...
> info There appears to be trouble with your network connection. Retrying...
> info There appears to be trouble with your network connection. Retrying...
> info There appears to be trouble with your network connection. Retrying...
> error An unexpected error occurred: "
> https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.11.2.tgz: 
> ESOCKETTIMEDOUT".
> info If you think this is a bug, please open a bug report with the 
> information provided in 
> "/dspace/install/dspace-angular-dspace-7.4/yarn-error.log".
> info Visit https://yarnpkg.com/en/docs/cli/install for documentation 
> about this command.
>
>
>
>
> vi /dspace/install/dspace-angular-dspace-7.4/yarn-er                       
>                                                                             
>                                ror.log
>       "ts-node": "10.2.1"
>     },
>     "dependencies": {
>       "@angular/animations": "~13.2.6",
>       "@angular/cdk": "^13.2.6",
>       "@angular/common": "~13.2.6",
>       "@angular/compiler": "~13.2.6",
>       "@angular/core": "~13.2.6",
>       "@angular/forms": "~13.2.6",
>       "@angular/localize": "13.2.6",
>       "@angular/platform-browser": "~13.2.6",
>       "@angular/platform-browser-dynamic": "~13.2.6",
>       "@angular/platform-server": "~13.2.6",
>       "@angular/router": "~13.2.6",
>       "@babel/runtime": "^7.17.2",
>       "@kolkov/ngx-gallery": "^2.0.1",
>       "@material-ui/core": "^4.11.0",
>       "@material-ui/icons": "^4.9.1",
>       "@ng-bootstrap/ng-bootstrap": "^11.0.0",
>       "@ng-dynamic-forms/core": "^15.0.0",
>       "@ng-dynamic-forms/ui-ng-bootstrap": "^15.0.0",
>       "@ngrx/effects": "^13.0.2",
>       "@ngrx/router-store": "^13.0.2",
>       "@ngrx/store": "^13.0.2",
>       "@nguniversal/express-engine": "^13.0.2",
>       "@ngx-translate/core": "^13.0.0",
>       "@nicky-lenaers/ngx-scroll-to": "^9.0.0",
>       "@types/grecaptcha": "^3.0.4",
>       "angular-idle-preload": "3.0.0",
>       "angulartics2": "^12.0.0",
>       "axios": "^0.27.2",
>       "bootstrap": "4.3.1",
>       "caniuse-lite": "^1.0.30001165",
>       "cerialize": "0.1.18",
>       "cli-progress": "^3.8.0",
>       "compression": "^1.7.4",
>       "cookie-parser": "1.4.5",
>       "core-js": "^3.7.0",
>       "deepmerge": "^4.2.2",
>       "express": "^4.17.1",
>       "express-rate-limit": "^5.1.3",
>       "fast-json-patch": "^3.0.0-1",
>       "file-saver": "^2.0.5",
>       "filesize": "^6.1.0",
>       "font-awesome": "4.7.0",
>       "http-proxy-middleware": "^1.0.5",
>       "https": "1.0.0",
>       "js-cookie": "2.2.1",
>       "js-yaml": "^4.1.0",
>       "json5": "^2.1.3",
>       "jsonschema": "1.4.0",
>       "jwt-decode": "^3.1.2",
>       "klaro": "^0.7.10",
>       "lodash": "^4.17.21",
>       "markdown-it": "^13.0.1",
>       "markdown-it-mathjax3": "^4.3.1",
>       "mirador": "^3.3.0",
>       "mirador-dl-plugin": "^0.13.0",
>       "mirador-share-plugin": "^0.11.0",
>       "moment": "^2.29.4",
>       "morgan": "^1.10.0",
>       "ng-mocks": "^13.1.1",
>                                                                           
>                            
>
>
>
>
> -- 
> All messages to this mailing list should adhere to the Code of Conduct: 
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> --- 
> You received this message because you are subscribed to the Google Groups 
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dspace-tech...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/d2807e4f-b226-4d05-8788-1a4d30858bc3n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dspace-tech/d2807e4f-b226-4d05-8788-1a4d30858bc3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/a4837d23-68f1-4547-99b2-593f10938e1an%40googlegroups.com.

Reply via email to