简体   繁体   中英

Error (Error: EPERM: operation not permitted, rename 'path')

I receive the following error when trying to rename a folder in VS Code on Windows.

When I try to rename a folder, I get the following error that pops up in the bottom right corner:

Error: EPERM operation not permitted, rename 'path'

错误

Try running that from a command-line interface

Rename  dir_oldname  dir_newname

If this doesn't work try increasing the permissions of the folder, then rerunning the thing!

chmod -R 777 dir_name

As you are saying you are new to development, I'll also tell you how to open your command line

You must have an app named command prompt (Windows) or terminal (mac), open the application, and write the following into the window before executing anything

cd ".."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM