You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi team, I have node 12.22.5 installed on my Apple Silicon macbook as some constraints are preventing me from making the leap to 15.x/16.x. Node was installed using nvm.
Without ever purposefully invoking Rosetta, which I can confirm since terminal arch returns arm64, I noticed that going into Node and invoking process.arch returns x64. Now, from what I understand, this can only mean that I am running node with the compatibility layer (Rosetta).
Is my understanding correct that Node automatically uses Rosetta for the user? I was under the impression that I would have had to manually run arch -x86_64 ... into the terminal to invoke Rosetta.
doesitarmwebsite says Node 12 has native apple silicon support. However, I do not see anything on the Node website indicating this. On the release notes, the only hint I can get is this commit. Is the doesitarm entry wrong? I would think that I would be able to get arm64 from process.arch had it been the case.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi team, I have node 12.22.5 installed on my Apple Silicon macbook as some constraints are preventing me from making the leap to 15.x/16.x. Node was installed using
nvm
.Without ever purposefully invoking Rosetta, which I can confirm since terminal
arch
returnsarm64
, I noticed that going into Node and invokingprocess.arch
returnsx64
. Now, from what I understand, this can only mean that I am running node with the compatibility layer (Rosetta).arch -x86_64 ...
into the terminal to invoke Rosetta.doesitarm
website says Node 12 has native apple silicon support. However, I do not see anything on the Node website indicating this. On the release notes, the only hint I can get is this commit. Is the doesitarm entry wrong? I would think that I would be able to getarm64
fromprocess.arch
had it been the case.Beta Was this translation helpful? Give feedback.
All reactions