windows - 尝试在 Visual Studio Code 上保存/创建文件时出现“NoPermissions (FileSystemError): Error: EPERM: operation not allowed”
问题描述
我将“mynewfolder”上传到 Visual Studio Code,但是当我执行“新建文件”并在其下写入“index.html”时,我收到以下消息:
无法写入文件(NoPermissions (FileSystemError): Error: EPERM: operation not allowed, open 'c:\Users\Projects\MyFirstPage\index.html')
我尝试了几次,仍然收到相同的错误消息。
谁能告诉我发生了什么事?
解决方案
我也遇到这个问题,现在问题已经解决了。请重新启动您的 PC 并以管理员身份运行您的 VSCODE。
推荐阅读
- scipy - Python 2D KDE 强度
- sql - 函数 MODIFY 是 SQL Query 中的一个东西吗?它引发语法错误
- android - 如何更改android第二显示分辨率
- c - 我在做leetcode问题的时候,发现输入代码后就溢出了
- flutter - 如何在 FutureProvider 未完成时设置加载指示器
- android - 使用 Flutter 接受 Android 许可证,无需手动确认
- firebase - 为什么在将“继续 URL”传递给 Firebase 电子邮件/密码身份验证后没有重定向?
- javascript - 木偶评估页面。评估
- javascript - 如何使用 jQuery Ajax 发送 JSON 数组对象 POST 请求
- python - 加入多个 csvs 以创建一个大文件。有些csv有不同的列名,如何处理?