Unable to compile CLI version on macOS

MacOS catalina 10.15.6
npm version 6.14.8

command that i ran exactly:

$ NPM_CONFIG_PREFIX=~/.joplin-bin npm install -g joplin
npm log:
npm_log (685.6 KB)

Any help on this would greatly appreciated This app is like my 2nd most used app outside of nvim and not having for the last while has really sucked.