Tag Archives: ERROR command failed

[Solved] ERROR command failed: npm install –loglevel error –legacy-peer-deps

When I created a new Vue project today, I made a mistake like the title, which was disgusting at that time

Try the method of online God

Find the content to be modified by C:: (users/owner). Vuerc  “ Usetaobaoregistry “: false, if the value is true or false, it is not easy to use

Then a whim called CMD as administrator to recreate the project successfully

For reference only, by the way, ask if there is a big God how to solve this problem: how to make the CMD run smoothly under the permission of non administrator?