Title: Older Versions of Node.js Require Downgrading Python 3 to Install Node.js from Source · Issue #48130 · nodejs/node · GitHub
Open Graph Title: Older Versions of Node.js Require Downgrading Python 3 to Install Node.js from Source · Issue #48130 · nodejs/node
X Title: Older Versions of Node.js Require Downgrading Python 3 to Install Node.js from Source · Issue #48130 · nodejs/node
Description: When running nvm install 14 on Apple Silicon (M2), I got the following error message when Node.js 14.21.3 was attempted to be installed from source (since pre-built Apple Silicon versions of Node.js are only available for Node.js 15 and ...
Open Graph Description: When running nvm install 14 on Apple Silicon (M2), I got the following error message when Node.js 14.21.3 was attempted to be installed from source (since pre-built Apple Silicon versions of Node.j...
X Description: When running nvm install 14 on Apple Silicon (M2), I got the following error message when Node.js 14.21.3 was attempted to be installed from source (since pre-built Apple Silicon versions of Node.j...
Opengraph URL: https://github.com/nodejs/node/issues/48130
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Older Versions of Node.js Require Downgrading Python 3 to Install Node.js from Source","articleBody":"When running `nvm install 14` on Apple Silicon (M2), I got the following error message when Node.js 14.21.3 was attempted to be installed from source (since pre-built Apple Silicon versions of Node.js are only available for Node.js 15 and onward, and since it also does not exist in the [unofficial builds](https://unofficial-builds.nodejs.org/download/release/v14.21.3/)):\r\n```\r\nNode.js configure: Found Python 3.11.3...\r\nPlease use python3.10 or python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7.\r\n```\r\n\r\n`which python3` showed `/opt/homebrew/bin/python3`.\r\n\r\n**I fixed this error and was able to get `nvm install 14` to build from source by downgrading Python 3 with `pyenv global 3.10.11 2.7.18` (after installing that version with `pyenv install 3.10`).**\r\n\r\n## For the Future\r\nThe `configure` file within the [node-v14.21.3.tar.xz](https://nodejs.org/dist/v14.21.3/node-v14.21.3.tar.xz) file in the [archives](https://nodejs.org/dist/v14.21.3/) is outdated and only checks for up to Python version 3.10.z.\r\n\r\nThe latest version of the `configure` file does have support for Python 3.11.z:\r\nhttps://github.com/nodejs/node/blob/959142a4652f7b6e90743be874fe9c065ed31d99/configure#L26\r\nBut what about Python 3.12.z and so on? Currently, the `config` file will need to be updated every time a new version of Python 3 becomes available. This may be by design (it may not be safe to assume that all future versions of Python 3 will work with the build scripts), but I would like to raise this question:\r\n\r\nWould it be sufficient to check for any version of Python 3?","author":{"url":"https://github.com/zvakanaka","@type":"Person","name":"zvakanaka"},"datePublished":"2023-05-23T00:32:10Z","url":"https://github.com/nodejs/node/issues/48130"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:af7d2dd8-a204-d6db-efb8-84abfe4d6743 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD90:1F55:40F1C2:5A533A:6AED4A1F |
| html-safe-nonce | f9e10a4376fdf29f98519eea4c427ad0fc469a504936e149f764c40eaa96b737 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDkwOjFGNTU6NDBGMUMyOjVBNTMzQTo2QUVENEExRiIsInZpc2l0b3JfaWQiOiIzMjYwMTQ5NzAxNTQwNjYxNzkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3af83f589b3447bf47ee2e0179e19e2efe1acfd4af19e915453c388b30a12a60 |
| hovercard-subject-tag | issue:1720910802 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/48130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e637b781f6ad6bdc57d3629c5bdc57402c8e9ddd6c7fef82fb5e06fc1094ac16/nodejs/node/issues/48130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e637b781f6ad6bdc57d3629c5bdc57402c8e9ddd6c7fef82fb5e06fc1094ac16/nodejs/node/issues/48130 |
| og:image:alt | When running nvm install 14 on Apple Silicon (M2), I got the following error message when Node.js 14.21.3 was attempted to be installed from source (since pre-built Apple Silicon versions of Node.j... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zvakanaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width