Closed daenenk closed 8 years ago
I've run into the same problems, and I'm not sure why we can't get a reference to require in the traditional way. As a result, I've been using a bootstrap JavaScript launcher, as shown in the integration guidance:
https://github.com/ldaniels528/scalajs-nodejs#node_integration
I tried
which works when I launch my code with
run
in sbt. But when I launch my code withnode
from command line,require
is not defined.