[英]Unable To Install React.js || "Use controlled folder access in windows" error occurred
I Am Trying To Install React App Using npx create-react-app myapp but use controlled access error is occurring.我正在尝试使用 npx create-react-app myapp 安装 React App,但出现使用受控访问错误。
I Was Installing React app but When I Was Writing the npx create-react-app myapp command, "folder controlled access" error occurred.我正在安装 React 应用程序,但是当我编写 npx create-react-app myapp 命令时,发生了“文件夹控制访问”错误。 so the solution is very Easy you just have to grant permission.
所以解决方案非常简单,您只需要授予许可即可。
1.Select Start > Settings > Update & Security > Windows Security > Virus & threat protection. 1.Select开始 > 设置 > 更新和安全 > Windows 安全 > 病毒和威胁防护。
2.Under Virus & threat protection settings , select Manage settings . 2.在病毒和威胁防护设置下,select管理设置。 Under Controlled folder access , select Manage Controlled folder access.
在受控文件夹访问下,select管理受控文件夹访问。 3.Switch the Controlled folder access setting to On or Off .
3.将受控文件夹访问设置切换为开或关。
Occasionally, an app that is safe to use will be identified as harmful.有时,可以安全使用的应用程序会被识别为有害应用程序。 This happens because Microsoft wants to keep you safe and will sometimes err on the side of caution;
发生这种情况是因为 Microsoft 希望确保您的安全,有时会因谨慎而犯错; however, this might interfere with how you normally use your PC.
但是,这可能会影响您正常使用 PC 的方式。 You can add an app to the list of safe or allowed apps to prevent them from being blocked.
您可以将应用程序添加到安全或允许的应用程序列表中,以防止它们被阻止。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.