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

Bug: argv issue while running metacall-deploy with metacall runtime #506

Closed
aakritiawasthi opened this issue Jun 13, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@aakritiawasthi
Copy link

🐛 Bug Report

metacall/install#23

When we execute metacall-deploy with the metacall runtime, it throws a warning like:

! 0x223eb60, 0x7f8c8d873e00 does not exists as a valid command.

Expected Behavior

metacall-deploy should have been able to parse the argv (--version) and should have returned the version of metacall-deploy.

Current Behavior

metacall-deploy is taking some pointers as argv which is not an expected behaviour

Possible Solution

Steps to Reproduce

  1. Install @metacall/deploy somewhere inside /gnu/lib using metacall npm i -g --prefix=/gnu/lib/some_folder @metacall/deploy
  2. Execute @metacall/deploy dist/index.js with metacall runtime like below

metacall /gnu/lib/.metacall/lib/node_modules/@metacall/deploy/dist/index.js --version

Context (Environment)

Operating System -> MintOS (Linux)

@aakritiawasthi aakritiawasthi added the bug Something isn't working label Jun 13, 2024
@viferga
Copy link
Member

viferga commented Jun 19, 2024

@aakritiawasthi thanks for reporting, I have solved this bug in the last commit on my PR: #504

I will merge this into develop and tag a new version as soon as possible.

@viferga viferga closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants