Skip to content

ExecJS::RuntimeError filepath problem #74

@jean-damien

Description

@jean-damien

Hello, I have had a recurring problem with ExecJS while trying launching my app. I'm running Ruby2.3.3 & Rails 5.1.4 on Windows 10.

I have a "SyntaxError: Caractère incorrect" on execjs (2.7.0) lib/execjs/external_runtime.rb:39:in `exec' at this line :

        begin
          **extract_result(@runtime.exec_runtime(filepath), filepath)**
        ensure
          File.unlink(tmpfile)
        end

When I print the filepath I get this :

"C:/Users/jdami/AppData/Local/Temp/execjs20180425-9972-1aoia44js"

Do you know if there's really an incorrect character ? I'm guessing maybe the "C:/" part might be the problem ?
Thanks a lot.

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