1111mp / nvm-desktop

Node Version Manager Desktop - A desktop application to manage multiple active node.js versions.
https://github.com/1111mp/nvm-desktop
MIT License
675 stars 34 forks source link

zsh: bad CPU type in executable: nvmd #8

Closed hardingCheng closed 10 months ago

hardingCheng commented 11 months ago

这在intel芯片会出现这个问题

1111mp commented 11 months ago

On Macos or Windows?

hardingCheng commented 11 months ago

Macos 的 是intel版本的

徐文成

@.*** |

---- Replied Message ---- | From | @.> | | Date | 09/28/2023 17:30 | | To | @.> | | Cc | @.> , @.> | | Subject | Re: [1111mp/nvm-desktop] zsh: bad CPU type in executable: nvmd (Issue #8) |

On Macos or Windows?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

hardingCheng commented 11 months ago

Mac intel

徐文成

@.*** |

---- Replied Message ---- | From | @.> | | Date | 09/28/2023 17:31 | | To | @.> | | Cc | @.> , Your @.> | | Subject | Re: [1111mp/nvm-desktop] zsh: bad CPU type in executable: nvmd (Issue #8) |

Macos 的 是intel版本的

徐文成

@.*** |

---- Replied Message ---- | From | @.> | | Date | 09/28/2023 17:30 | | To | @.> | | Cc | @.> , @.> | | Subject | Re: [1111mp/nvm-desktop] zsh: bad CPU type in executable: nvmd (Issue #8) |

On Macos or Windows?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

1111mp commented 11 months ago

I should build the executable separately for x64 architecture Macos. Sorry I overlooked the compatibility issues of different architectures. I will compile an executable for x64 Macos later. Since I don't currently have a device to test with, I can't confirm if the issue is actually resolved. I will provide the download address. If you have time, can you help test it? (It only requires a very simple operation, just replace the $HOME/.nvmd/bin/nvmd file.) Thank you.

1111mp commented 11 months ago

https://github.com/1111mp/nvmd-command/releases/download/v2.2.0/Macos-x64.zip This is the executable built for x64 Macos, you can download it and decompress it locally and then replace $HOME/.nvmd/bin/nvmd with the newly downloaded file. Then test if it works properly.

1111mp commented 11 months ago

If the problem persists, please tell me what command you are executing to get the error. Thank you.

1111mp commented 10 months ago

It has been resolved in Releases v2.2.0. Please download the latest installation package.