Skip to content

EACCES Permission Denied: Problem installing corepack through yarn (Lesson 5: Ethers.js Simple Storage). #514

Answered by jacobhay2626
jacobhay2626 asked this question in Q&A
Discussion options

You must be logged in to vote

Incase anyone else ever comes across this issue I thought I would give a description of how I solved it. I found that when trying to do

corepack enable 

I would get an EACCES permission denied error appear, and when I tried:

npm i -g corepack

I would get the error seen in my question above. I think i was getting this second error because I was using a node version above 16.10 but Im not sure about that, however for the EACCES permission denied I was able to follow the steps on this link

https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally

to get around the issue. If you are anything like I am at the time I am writing this I have linked a video on …

Replies: 2 comments 19 replies

Comment options

You must be logged in to vote
8 replies
@alymurtazamemon
Comment options

@alymurtazamemon
Comment options

@jacobhay2626
Comment options

@jacobhay2626
Comment options

@jacobhay2626
Comment options

Comment options

You must be logged in to vote
11 replies
@jacobhay2626
Comment options

@Trevor-V
Comment options

@tbullcto
Comment options

@anasimov
Comment options

@ThisisOat
Comment options

Answer selected by jacobhay2626
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants