Open shazron opened 5 years ago
my type is zsh, do i do the same?
i have same problem but i dont understand how to solve it, any solution
@shazron's comment pertain to Mac OS X only. If you're on a linux environment make sure you're downloading an appropriate version for example https://github.com/apache/openwhisk-cli/releases/download/latest/OpenWhisk_CLI-latest-linux-amd64.tgz from https://github.com/apache/openwhisk-cli/releases/tag/latest.
+1 for the issue. It's there in the latest wsk build as well. I think there's definitely some issue with the MacOS 386 build, and should be fixed if it's really needed to be a separate release from amd_64 sibling.
@shazron Your workaround suggestion works, thanks. 👍
Description
This issue is purely informational (for search engines). macOS 10.15 Catalina can only run 64-bit apps. When downloading an executable from the Releases page, a user may be confused if they only have an Intel CPU, that they may not install the amd64 bit version, and use the 386 version instead. Suggest rename to
amd64
tox86_64
in any zip filenames under the Releases tab.Expected
When I type
wsk
in the terminal, it runsActual
When I type
wsk
in the terminal, it shows the error messagebad CPU type in executable: wsk
Steps to reproduce:
OpenWhisk_CLI-latest-mac-386.zip
file from https://github.com/apache/incubator-openwhisk-cli/releases/tag/latestwsk
Workaround
Download the
OpenWhisk_CLI-latest-mac-amd64.zip
bundle instead, and run thewsk
executable in thereSuggested Fix
OpenWhisk_CLI-latest-mac-amd64.zip
toOpenWhisk_CLI-latest-mac-x86_64.zip