Unable to install Juno. Installation of Ink fails

I am trying to install uber-juno package in atom and I keep getting the following error

Installing ink to /home/shashank/.atom/packages ✗

ink@0.12.3 postinstall /tmp/apm-install-dir-120229-7769-1s3lozo.qhgw/node_modules/ink
node scripts/postinstall.js

Aborted (core dumped)
npm WARN enoent ENOENT: no such file or directory, open ‘/tmp/apm-install-dir-120229-7769-1s3lozo.qhgw/package.json’
npm WARN apm-install-dir-120229-7769-1s3lozo.qhgw No description
npm WARN apm-install-dir-120229-7769-1s3lozo.qhgw No repository field.
npm WARN apm-install-dir-120229-7769-1s3lozo.qhgw No README data
npm WARN apm-install-dir-120229-7769-1s3lozo.qhgw No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! ink@0.12.3 postinstall: node scripts/postinstall.js
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the ink@0.12.3 postinstall 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! /home/shashank/.atom/.apm/_logs/2020-03-29T20_20_35_336Z-debug.log

I running Ubuntu 19.10, npm version 6.14.4, atom version 1.4.5 and 1.4.6 beta.

see https://github.com/JunoLab/atom-ink/issues/212

Direct link to the relevant comment: https://github.com/JunoLab/atom-ink/issues/212#issuecomment-552450010

The proposed workaround is to install an alternative Atom package manager (apx instead of apm). It worked for me on Debian 10 (buster).

/usr/bin/npm install @aerijo/apx
~/node_modules/.bin/apx  install ink

After this, I believe the node_modules directory can be trashed.