简体   繁体   English

无法安装 React.js || 发生“在 Windows 中使用受控文件夹访问”错误

[英]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.

相关问题 尝试在Windows 10上运行新的react.js应用时出错 - Error when trying to run a new react.js app on windows 10 无法在 Visual Studio 代码中调试 React.js 代码 - Unable to debug React.js code in visual studio code 'rafce' React.js 快捷方式在 VSCode 中不起作用 - 'rafce' React.js shortcut not working in VSCode `'async' 修饰符只能用于 TypeScript files.ts(8009)` 在 react.js 中使用 async 时出错 - `The 'async' modifier can only be used in TypeScript files.ts(8009)` error when using async in react.js React.js的新手无法确定正确的Typescript接口 - Newbie to React.js cannot determine proper Typescript Interface 如何在vscode上着色特定的React.Js语法? - How to colorize specific React.Js syntax on vscode? 如何在 Visual Studio 代码中构建 react.js 应用程序? - How to build react.js apps at visual studio code? VS Code 无法重命名 Windows 10 上的文件夹。我收到“错误:EPERM:不允许操作,重命名...” - VS Code unable to rename folder on Windows 10. I get "Error: EPERM: operation not permitted, rename..." 无法在 Windows 10 中安装 VisualStudio 代码 - Unable to install VisualStudio Code in Windows 10 为什么VSCode“无法打开扩展程序。发生未知错误。”? - Why is VSCode "Unable to open Extension. An unknown error occurred."?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM