I
I
Islam Ibakaev2018-02-18 05:25:30
Windows
Islam Ibakaev, 2018-02-18 05:25:30

Why does yarn global add yo throw an error?

Yesterday I reinstalled the system, installed among other programs nodeand yarn(via installer for windows)
Successfully installed gulp-clivia yarn global
When trying to install, it yogives 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 in
yonpmyarn, plus inside the project I can successfully use other commands yarnlike yarn addyarn removeyarn listit 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 globalplow 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 question

Ask a Question

731 491 924 answers to any question