Ansible failed while installing koa.master on virtual machine : (error cldr@data )

Hi,
Any help please , can’t install open edx on ubuntu 20.04 koa.master release.

    RUNNING HANDLER [nginx : reload nginx] ***************

PLAY RECAP ***********************
localhost                  : ok=435  changed=212  unreachable=0    failed=1    skipped=896  rescued=0    ignored=0   

 
============================================================
Ansible failed!
------------------------------------------------------------
 
Decoded error:
== cmd ===========================
/edx/app/insights/nodeenvs/insights/bin/npm install
== msg ===========================
non-zero return code
== stderr ===========================
Whops Invalid or unsupported zip format. No END header found
npm WARN edx-analytics-dashboard@ No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/karma/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cldr-data@31.0.2 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the cldr-data@31.0.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /edx/app/insights/.npm/_logs/2021-05-25T22_42_41_490Z-debug.log
== stdout ===========================

> phantomjs-prebuilt@2.1.16 install /edx/app/insights/edx_analytics_dashboard/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...

Received 22866K total.
Extracting tar contents (via spawned process)
Removing /edx/app/insights/edx_analytics_dashboard/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1621982444155/phantomjs-2.1.1-linux-x86_64 -> /edx/app/insights/edx_analytics_dashboard/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /edx/app/insights/edx_analytics_dashboard/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs

> cldr-data@31.0.2 install /edx/app/insights/edx_analytics_dashboard/node_modules/cldr-data
> node install.js

GET `https://github.com/unicode-cldr/cldr-core/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-dates-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-buddhist-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-chinese-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-coptic-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-dangi-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-ethiopic-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-hebrew-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-indian-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-islamic-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-japanese-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-persian-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-cal-roc-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-localenames-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-misc-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-numbers-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-segments-modern/archive/31.0.1.zip`
GET `https://github.com/unicode-cldr/cldr-units-modern/archive/31.0.1.zip`
Received 30868K total.
Unpacking it into `./`
 
============================================================
Installation failed!
------------------------------------------------------------
If you need help, see https://open.edx.org/getting-help .
When asking for help, please provide as much information as you can.
These might be helpful:
    Your log file is at /home/seni/logs/install-20210525-145618.log
    Your environment:
        OPENEDX_RELEASE=open-release/koa.master
        VTE_VERSION=6003
1 Like

Please, any help I still having the same error with koa.master.
if I switch to ubuntu 16.04 and install juniper, it will work, Is still suported in 2021.
Thanks; really I need help!

Seems like an issue with the virtual machine unable to extract the npm package correctly. Can you try installing only the cldr-data package independently on the machine?