dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.62k stars 67 forks source link

Still experiencing issues on macOS #59

Closed domparry closed 6 years ago

domparry commented 6 years ago

I've tried to re-install with the new master after the fix in issue 52, but I'm still getting errors when trying to run closh:

which closh
/Users/domparry/.nvm/versions/node/v8.9.3/bin/closh
➜  fulliautomatix git:(master) ✗ closh
Could not require closh.util in file closh/builtin.cljs
     (new)
     Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3 (NO_SOURCE_FILE <embedded>:2024:72)
     Function.cljs.analyzer.error.cljs$core$IFn$_invoke$arity$3 (NO_SOURCE_FILE <embedded>:2639:92)
     (NO_SOURCE_FILE <embedded>:5950:320)
     (Object.lumo.repl.run_sync_BANG_)
     Object.cljs.js.process_deps (NO_SOURCE_FILE <embedded>:5927:185)
     Object.cljs.js.process_libs_deps (NO_SOURCE_FILE <embedded>:5930:60)
     (NO_SOURCE_FILE <embedded>:5948:474)
     (Object.lumo.repl.run_sync_BANG_)
     Object.cljs.js.process_deps (NO_SOURCE_FILE <embedded>:5927:185)

Cannot find module 'tmp'
     Function.Module._resolveFilename (module.cljs:542:15)
     Function.Module._load (module.cljs:472:25)
     Module.require (module.cljs:585:17)
     require (internal/module.cljs:11:18)
     (evalmachine.<anonymous>:6:18)
     ContextifyScript.Script.runInThisContext (vm.cljs:50:33)
     Object.runInThisContext (vm.cljs:152:38)
     (Object._t)
     lumo.repl.caching_node_eval (NO_SOURCE_FILE <embedded>:6481:68)
     (NO_SOURCE_FILE <embedded>:5949:410)

➜  fulliautomatix git:(master) ✗
mnewt commented 6 years ago

It seems the tmp npm module isn't installed. Are you sure npm install ran successfully?

domparry commented 6 years ago

OK. I have solved this. Something must have gone wacky with the deps. I deleted the node_modules folder from the closh installation path, and re-installed.