-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Nodejs 14.x doesn't compile on ARM OSX (M1) #36161
Comments
See #36160 . I got it to compile on M1 but a test was broken. |
As you can see in https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list, Apple Silicon is not supported on current release line. There are folks working on making it happen though (see nodejs/build#2474), and you may get lucky with I'm closing this as there is no actionable step for now, I suggest subscribing to the other issue if you want to be kept updated. |
14.x doesnt have the require code to compile on apple silicon - and likely wont as its requires V8 8.6 which is only in 15.x and master |
@AshCripps : With that you mean 14.x will not be supported on Apple Silicon ever. In that case we have to wait for 16.x to use in production environments. |
@adchawla Until Apple Silicon support gets backported to v14 – that would probably require a good chunk of work, but if someone wants to sent a PR, I'm sure they would be warmly welcomed. |
It's unlikely as the V8 version has breaking changes, so unless people are willing to pick out the relavent bits and back port them |
@adchawla you can use node 15 in production environments - every version of node is stable. |
This upgrades the list of supported Node versions to include v15. This is useful as currently only version 15 is supported by Macs using the new M1 ARM chips (see nodejs/node#36161). I've been running it locally using version 15 fine, and have [upgraded our prototype](DFE-Digital/apply-for-teacher-training-prototype#454) to node 15 running on Heroku.
What steps will reproduce the bug?
./configure
make
Or alternative try
nvm install 14
if you havenvm
installed.How often does it reproduce? Is there a required condition?
No condition required apart from trying this on a new ARM based Mac.
What is the expected behavior?
Compile succeeds, everybody happy.
What do you see instead?
Compile fails, everybody sad.
The text was updated successfully, but these errors were encountered: