-
-
Notifications
You must be signed in to change notification settings - Fork 105
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]: Compatible with M1 mac below Node.js 16.0.0 #113
[BUG]: Compatible with M1 mac below Node.js 16.0.0 #113
Comments
旧项目需要用到v12 v14版本 |
+1,把nvm卸载了,结果发现vfox安装不了🤣 |
发现了 windows可以 但是macos不行 |
@kuroimachi 我macos 也可以啊..... 你卸载插件重新装... |
@kuroimachi 你是什么架构, 会不会是node低版本没有你这个架构的二进制包啊 |
@kuroimachi 我刚看了一下, 确实没有arm, nvm能安装? 用了什么魔法吗哈哈哈哈, 能截图一下nvm 安装arm 12.9.0的图吗 |
详见: nvm-sh/nvm#2350
看了一下, 和vfox问题一样, 只不过nvm做了些处理. 直接下载的x86. 笑死了 if nvm_version_greater '16.0.0' "${VERSION}"; then
if [ "_${NVM_OS}" = '_darwin' ] && [ "${NVM_ARCH}" = 'arm64' ]; then
NVM_ARCH=x64
fi |
@kuroimachi 可以先临时这么处理, nvm-sh/nvm#2350 (comment), 下个Node插件版本修复 |
哈哈 感谢感谢 |
@kuroimachi 感兴趣的话可以提个PR, 我看了一下, 两行代码就能搞定.... 😄 |
@kuroimachi 感谢贡献, 直接vfox update nodejs就可以用了 |
nvm 还有一个很厉害的功能, nvm install -s 14,可以在 arm 机器上下载 node 源码然后编译安装。 |
上面源码说了 低版本直接按照windows版本下载的🤣 |
VersionFox version 0.2.4
The text was updated successfully, but these errors were encountered: