Repository navigation
Conversation
- nodejs/node#55366 - Homebrew/homebrew-core#193982 Signed-off-by: Karl Horky <karl.horky@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: Karl Horky <karl.horky@gmail.com>
|
Users may not need/want to install corepack, so maybe just add a comment that explains that corepack is not distributed with the bundle? |
|
I'm not a fan that Homebrew is intentionally changing how Node is installed (https://github.com/Homebrew/homebrew-core/blob/master/Formula/n/node.rb#L68-L88) by building Node natively and intentionally removing features. At the same time, I cannot endorse manual extra steps to be added on our side on the downloads page. This must be resolved on Heombrew's side, and I'll report there and ask them to please not change the expected way people expect Node to perform across environments. Unfortunately I don't think this change should land here, and I would discourage this as a fix. |
|
Sounds good, understood and agreed that Homebrew's divergent behavior seems unexpected and incorrect. Closing. |
Description
As reported in the issues below, Homebrew installation behavior is divergent with the latest releases and the older releases:
corepacknot installed by default with Homebrew node#55366corepackinstalled withnode@20but not withnode@22Homebrew/homebrew-core#193982The short version is this:
Homebrew currently expects users to install Corepack separately with
brew install corepack:corepacknot installed with formulanodeHomebrew/homebrew-core#151439 (comment)After this PR,
brew install corepackis printed for releases with a.statusofCurrentorPending:Node.js v22 (note the new line
brew install corepack)Node.js v20
Validation
Read into the issues above to validate the documented behavior of Homebrew.
Related Issues
Already linked above
Check List
npm run formatto ensure the code follows the style guide.npm run testto check if all tests are passing.npx turbo buildto check if the website builds without errors.cc @aduh95