Skip to content

Installation error with the 'legacy' branch #45

@call-me-anything-you-want

Description

Hi, I'm trying to use the 'legacy' branch of this repo to visualize the agents trained using the code in the 'neurips2019' branch of 'human_aware_rl' (this)
However, when I'm following the installation instructions in README, I got some errors.
The errors were raised when I'm trying to run npm run build.

/home/pc/overcooked-demo/static/js/demo/index.js:1
import $ from "jquery";
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'

/home/pc/overcooked-demo/static/js/demo/replay-index.js:1
import $ from "jquery";
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'

Any idea how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions