Skip to content

[Bug?]: corepack enable installation method not working on Ubuntu 22.10 #5060

Answered by RDIL
JonathanLindsey asked this question in Q&A
Discussion options

You must be logged in to vote

You have installed Node through a system package manager, which doesn’t include corepack. You need to either install corepack first (npm i -g corepack) or use a different method of installing Node, such as nvm.

This is just a case of the apt package not shipping everything that the typical Node.js distributions include.

As for requiring sudo, it’s just a permission issue. Typically, you should have control over the global package store.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RDIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #5058 on November 14, 2022 08:45.