using the single page sample app located at https://github.com/volojs/create-template.git, launching r.js with nashorn gives an error:
tools/r.js:24660 ReferenceError: "process" is not defined
full text of the session:
$ git remote -v
origin https://github.com/volojs/create-template.git (fetch)
origin https://github.com/volojs/create-template.git (push)
$ jjs -version
nashorn 1.8.0_161
$ jjs -scripting tools/r.js -- -o tools/build.js
tools/r.js:24660 ReferenceError: "process" is not defined
$ jjs -scripting tools/r.js -- -v
r.js: 2.3.5, RequireJS: 2.3.5, UglifyJS: 2.8.29