Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown command, when executing hexa built with Nexe #37

Open
2 tasks done
AxDSan opened this issue Apr 27, 2023 · 1 comment
Open
2 tasks done

Unknown command, when executing hexa built with Nexe #37

AxDSan opened this issue Apr 27, 2023 · 1 comment

Comments

@AxDSan
Copy link

AxDSan commented Apr 27, 2023

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

@PeyTy
Copy link
Member

PeyTy commented Apr 27, 2023

Interesting. I probably removed some code that drops first argument (.js one)

@AxDSan AxDSan changed the title Unknow command, when executing hexa built with Nexe Unknown command, when executing hexa built with Nexe Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants