rxaviers / cldr-data-downloader

Download tool for Unicode CLDR JSON data
MIT License
16 stars 24 forks source link

install error , use browser can download zip url file #61

Open gemron opened 2 years ago

gemron commented 2 years ago

6014 info run cldr-data@36.0.1 install node_modules/cldr-data node install.js 6015 info run cldr-data@36.0.1 install { code: 1, signal: null } 6016 timing reify:rollback:createSparse Completed in 30311ms 6017 timing reify:rollback:retireShallow Completed in 0ms 6018 timing command:install Completed in 715035ms 6019 verbose stack Error: command failed 6019 verbose stack at ChildProcess. (D:\repo\nodejs\node_global\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:63:27) 6019 verbose stack at ChildProcess.emit (node:events:526:28) 6019 verbose stack at maybeClose (node:internal/child_process:1092:16) 6019 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) 6020 verbose pkgid cldr-data@36.0.1 6021 verbose cwd D:\coinv\develop\mts2\mts2-install\install-ui 6022 verbose Windows_NT 10.0.22621 6023 verbose node v16.14.2 6024 verbose npm v8.7.0 6025 error code 1 6026 error path D:\coinv\develop\mts2\mts2-install\install-ui\node_modules\cldr-data 6027 error command failed 6028 error command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js 6029 error GET https://github.com/unicode-cldr/cldr-core/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-dates-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-buddhist-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-chinese-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-coptic-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-dangi-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-ethiopic-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-hebrew-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-indian-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-islamic-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-japanese-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-persian-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-cal-roc-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-localenames-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-misc-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-numbers-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-segments-modern/archive/36.0.0.zip 6029 error GET https://github.com/unicode-cldr/cldr-units-modern/archive/36.0.0.zip 6030 error Whops Error making request. 6030 error Error: socket hang up 6030 error at connResetException (node:internal/errors:691:14) 6030 error at TLSSocket.socketOnEnd (node:_http_client:466:23) 6030 error at TLSSocket.emit (node:events:538:35) 6030 error at endReadableNT (node:internal/streams/readable:1345:12) 6030 error at processTicksAndRejections (node:internal/process/task_queues:83:21) 6030 error 6030 error Please report this full log at https://github.com/rxaviers/cldr-data-downloader 6031 verbose exit 1 6032 timing npm Completed in 715221ms 6033 verbose unfinished npm timer reify 1665225890966 6034 verbose unfinished npm timer reify:build 1665225973060 6035 verbose unfinished npm timer build 1665225973063 6036 verbose unfinished npm timer build:deps 1665225973064 6037 verbose unfinished npm timer build:run:install 1665225973282 6038 verbose unfinished npm timer build:run:install:node_modules/cldr-data 1665225973282 6039 verbose code 1 6040 error A complete log of this run can be found in: 6040 error D:\repo\nodejs\node_cache_logs\2022-10-08T10_44_50_792Z-debug-0.log

cmawhorter commented 1 year ago

i was getting a similar network error to this repeatedly all last night inside a github action. this morning, it worked without issue. my guess is a temp network issue.

adding automatic retry of failed requests here might help

gemron commented 1 year ago

It should be a network problem, I hope the author can modify it to prevent frequent problems