Answer the question
In order to leave comments, you need to log in
Why does yarn global add yo throw an error?
Yesterday I reinstalled the system, installed among other programs node
and yarn
(via installer for windows)
Successfully installed gulp-cli
via yarn global
When trying to install, it yo
gives an error:
error An unexpected error occurred: "EPERM: operation not permitted, unlink 'C:\\Users\\dagman\\ AppData\\Local\\Yarn\\config\\global\\node_modules\\.bin\\gulp'".
Why is the operation not allowed?
And how do I do what they ask, namely unlink 'C:\\Users\\dagman\\AppData\\Local\\Yarn\\config\\global\\node_modules\\.bin\\gulp'".
and in general I don’t have an AppDataC:\Users\dagman\
folder in the directory .
I tried to install it through for interest and everything went well, it turns out that it’s inyo
npm
yarn
, plus inside the project I can successfully use other commands yarn
like yarn add
yarn remove
yarn list
it turns out that the problem is in yarn global
Yarn version - 1.3.2
For those who have this version installed on windows 10, tell me, do you yarn global
plow the rules?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question