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] MQTTX CLI for windows on arm does not work when downloaded directly (not using setup installer) #1805

Open
oising opened this issue Nov 12, 2024 · 6 comments
Assignees
Labels
bug Something isn't working CLI MQTTX CLI discussion This issues and pr are worth discussing Windows
Milestone

Comments

@oising
Copy link

oising commented Nov 12, 2024

What did I do

Downloaded mqttx-cli-win-arm64.exe directly and attempted to run on windows 11 arm64 (SL7)

What happened

Got this:

image

Expected

No errors

Environment

  • windows 11 arm64, 24h2/26100

More detail

More detail include log information or screenshot

@oising oising added the bug Something isn't working label Nov 12, 2024
@github-project-automation github-project-automation bot moved this to Backlog in MQTTX Nov 12, 2024
@oising
Copy link
Author

oising commented Nov 12, 2024

I tried installing icu globally but it seems invisible to the embedded nodejs (my system has v22 globally, but this tool has an embedded v18)

@ysfscream ysfscream self-assigned this Nov 14, 2024
@ysfscream ysfscream added the CLI MQTTX CLI label Nov 14, 2024
@ysfscream ysfscream added this to the v1.11.1 milestone Nov 14, 2024
@ysfscream
Copy link
Member

ysfscream commented Nov 14, 2024

Try not to use a standalone “.exe” file. I suggest installing MQTTX CLI via npm or docker, It can eliminate some differences between systems. It will handle dependencies correctly:

docker pull emqx/mqttx-cli
docker run -it --rm emqx/mqttx-cli
npm install mqttx-cli -g

@ysfscream ysfscream moved this from Backlog to TO DO in MQTTX Nov 14, 2024
@ysfscream ysfscream added the discussion This issues and pr are worth discussing label Nov 14, 2024
@oising
Copy link
Author

oising commented Nov 14, 2024

Try not to use a standalone “.exe” file. I suggest installing MQTTX CLI via npm or docker, It can eliminate some differences between systems. It will handle dependencies correctly:

docker pull emqx/mqttx-cli
docker run -it --rm emqx/mqttx-cli
npm install mqttx-cli -g

image

@oising
Copy link
Author

oising commented Nov 14, 2024

Seems like you forgot to pack faker as a dependency -- running npm install @faker-js/faker -g got me past this for the moment.

@oising
Copy link
Author

oising commented Nov 14, 2024

Hmm, connects ok (azure event grid mqtt5 broker) but just hangs afterwards :/

image

@ysfscream
Copy link
Member

Seems like you forgot to pack faker as a dependency -- running npm install @faker-js/faker -g got me past this for the moment.

Sorry. 😓 Has been already fixed on #1801; release to the next version...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLI MQTTX CLI discussion This issues and pr are worth discussing Windows
Projects
Status: TO DO
Development

No branches or pull requests

2 participants