mach
mach copied to clipboard
Installing mach via instructions in readme fails
✘-127 ~/Documents/github.com/first-roll
12:02 $ sudo npm install -g @juxt/mach
/usr/local/bin/mach -> /usr/local/lib/node_modules/@juxt/mach/bin/mach
> [email protected] install /usr/local/lib/node_modules/@juxt/mach/node_modules/lumo-cljs
> node scripts/npm_install.js || nodejs scripts/npm_install.js
internal/streams/legacy.js:59
throw er; // Unhandled stream error in pipe.
^
Error: EACCES: permission denied, open 'lumo_mac.zip'
sh: nodejs: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install: `node scripts/npm_install.js || nodejs scripts/npm_install.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] 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! /Users/erik/.npm/_logs/2017-10-28T10_02_51_139Z-debug.log
Following tip from #47, things work:
12:03 $ sudo npm install --unsafe-perm -g @juxt/mach
/usr/local/bin/mach -> /usr/local/lib/node_modules/@juxt/mach/bin/mach
> [email protected] install /usr/local/lib/node_modules/@juxt/mach/node_modules/lumo-cljs
> node scripts/npm_install.js || nodejs scripts/npm_install.js
Downloading [========================================] 2851270/bps 100% 0.0s
+ @juxt/[email protected]
added 132 packages in 19.268s
✔ ~/Documents/github.com/first-roll