EPERM error resolved when npm: operation not permitted, lstat

  • In use vue-cliwhen doing projects have encountered npm run buildan error when packaging issues, as shown below
    Here Insert Picture Description

After experiencing problems when tried many methods will not work, dist folder can not delete, then all kinds of search, and some make clear the cache, and some say that without access, use administrator access, you may be able to solve this part problem, but my problem has not been resolved yet, because I use ideShi VS code, was driving local serverservice, simply put off the VS code re-tried, also a success

  • The problems encountered, also modeled on the last turn off the editor, but this time it is not how successful, or throw the same mistakes, are also a variety of ways to re-try the command again, including the command to force delete all failed

Or multi try to find the root of the problem, because I want to transfer files to the server, then use the dist folder, even if not now, it has been produced with the relationship, so when I go try to turn off the xftp success

  • Summary: There are a lot of errors occur because, when you use the command, etc. have all failed attempts to change the kinds of ways, such as the program takes up a folder, as long as another program is associated, it will be prohibited to operate this folder or file causing the error occurred, so no matter when, we must ensure that the operator is not occupied folders

Guess you like

Origin blog.csdn.net/weixin_42204698/article/details/93196236