We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a799e08 commit b97a7ffCopy full SHA for b97a7ff
1 file changed
hooks/pre_install.lua
@@ -33,11 +33,12 @@ function PLUGIN:PreInstall(ctx)
33
ext = ".zip"
34
osType = "win"
35
end
36
- -- add logic for macOS M1~
+ -- add logic for Apple Silicon
37
if RUNTIME.osType == "darwin" then
38
local major, _ = util.extract_semver(version)
39
- if major and tonumber(major) <= 16 then
+ if major and tonumber(major) < 16 then
40
arch_type = "x64"
41
+ print("Note: Node.js versions below 16 do not support Apple Silicon (arm64), using x64 architecture with Rosetta 2")
42
43
44
0 commit comments