I've been trying the CommonJS support and have been failing to get it to work in Node, and likewise so has Maria Neise. This is in the case of invoking build prior to launching the REPL as well as trying a new suggestion in CLJS-1313.
I cranked up the verbosity to see what is going on and ultimately hit upon the idea that
isn't going to work in Node and instead needs the same alternative logic that is employed for :foreign-libs in cljs.compiler/load-libs, in particular this needs to be emitted.
I hacked the code a bit and got the "german" CommonJS module to load in Node and be useable:
The attached patch illustrates the hack to get the above to work. The real fix would be a generalization of this.
Node REPL with the latest CommonJS loading impl