Should corepack be installed by default?
Hello, hopefully I'm in the right place on the internet. Please kindly point me in the right direction if I'm not.
The yarn documentation says corepack is shipped with "all Node.js releases starting from 16.10" but installing nodejs and then running `corepack enable` does not work as documented. Instead I get a command not found error.
https:/
I submitted a bug report/question in the yarnpkg GitHub and then created a PR to amend the documentation with an exception for package managers that don't include corepack. But in the PR I was told:
>This seems like something that should be fixed upstream in your systems package manager; if it doesn't include the binaries that Node.js ships then that seems like a bug on their end.
https:/
https:/
So my question here is what is the intended behavior? Should nodejs include corepack (though disabled) or not include it?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu nodejs Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Jonathan Lindsey for more information if necessary.