Skip to content

Unknown command, when executing hexa built with Nexe #37

@AxDSan

Description

@AxDSan

Describe the bug

I'm getting an error when I execute hexa built with Nexe, it's telling me something about Unknown command, suggesting that something is being sent as an argument upon execution by default?

Reproduction

I cloned the repo executed the main build script for the bootstrapped compiler

$ .\build.bat

it went great.... now when I compiled to Nexe using:

$ .\nexe-build.bat

It successfully built the executable, but when I run it, it outputs this:

PS C:\Users\showheyhey\Documents\GitHub\hexa> hexa.exe
Unknown command: C:\Users\showheyhey\Documents\GitHub\hexa\hexa-node.js
Try `hexa help`
Hexa 2023.1.6 on node.js 14.15.3

Platform

  • Laptop
  • Windows 11 (x64)

Expected behavior

Clean execution with no errors.

Screenshots

No response

Additional context

No response

Agreements

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions