MQTTX icon indicating copy to clipboard operation
MQTTX copied to clipboard

[Bug] mqttx-cli-macos-x64 can't run in macos Sonoma 14.2.1

Open littlerokie opened this issue 1 year ago • 1 comments

What happened

@~$ ./mqttx-cli-macos-x64 sub -t 'hello' -h 'broke.emqx.io' -p 1883 ./mqttx-cli-macos-x64: line 1: syntax error near unexpected token newline' ./mqttx-cli-macos-x64: line 1: '

Environment

Intel Core i5

  • OS: macos Sonoma 14.2.1
  • MQTTX version, v1.10.0

littlerokie avatar Jun 28 '24 03:06 littlerokie

@littlerokie Thank you for your feedback.

We apologize for the inconvenience caused by the missing mqttx-cli-macos-x64 file. We have now updated the file. Please follow these steps to remove the current MQTTX CLI and reinstall it:

  1. Remove the current MQTTX CLI:

    sudo rm -rf /usr/local/bin/mqttx
    
  2. Download and install the updated version:

    curl -LO https://www.emqx.com/en/downloads/MQTTX/v1.10.0/mqttx-cli-macos-x64
    sudo install ./mqttx-cli-macos-x64 /usr/local/bin/mqttx
    

If the issue persists, please install using Homebrew:

brew install emqx/mqttx/mqttx-cli

I have tested this, and it works successfully. We apologize again for any inconvenience caused.

image

ysfscream avatar Jun 28 '24 06:06 ysfscream

If there is no update, I will close this issue. Thanks.

ysfscream avatar Jul 16 '24 09:07 ysfscream