Skip to content

running with java 8 nashorn produces 'ReferenceError: "process" is not defined' #976

@oldag

Description

@oldag

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions