juxt / mach

A remake of make (in ClojureScript)
246 stars 21 forks source link

Installing mach via instructions in readme fails #53

Open slipset opened 7 years ago

slipset commented 7 years ago
✘-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

> lumo-cljs@1.7.0 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! lumo-cljs@1.7.0 install: `node scripts/npm_install.js || nodejs scripts/npm_install.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the lumo-cljs@1.7.0 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

> lumo-cljs@1.7.0 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/mach@1.4.7
added 132 packages in 19.268s
✔ ~/Documents/github.com/first-roll